ow do I add a user account with admin (sudo) access on Ubuntu or CentOS Linux cloud server? How can I add a new user with admin account level access in Linux?
ow do I add / create a sudo user on CentOS Linux 8 using the command line?
am trying to add entry to /etc/hosts file using ‘sudo echo '192.168.1.254 router' >> /etc/hosts
‘ but getting an error that read as, -bash: /etc/hosts: Permission denied
. How do I insert or append text to a file when running sudo command on Linux or Unix-like system?
I think Google has its own dns caching system. I am getting the same old dns entry in my Google Chrome browser on both Linux and Apple OS X. How do I flush or clear the DNS cache in Google Chrome browser without compete shutting down?
am a new Linux user. How do I run two commands from a bash shell? I need to run apt-get update and apt-get -y upgrade without typing sudo command two times from a command line on Ubuntu Linux AWS cloud server. How can I two commands in sudo ‘command1 && command2’?
am a new CentOS Linux system adminstrator. How do I use sudo command without a password on a CentOS Linux systems? I log in as marlena@my-cloud-server-ip and disabled root login for ssh. After login, I need to run some commands as root user. I am the only sysadmin using my CentOS Linux 7 server. How do I run or execute sudo command without a password for a user named marlena under CentOS Linux cloud server?
replaced Windows 10 with Ubuntu Linux 16.04 LTS. So, I am a new Ubuntu Linux user. How do I become superuser on Ubuntu Linux? How do I login as root on Ubuntu?
Continue reading “How do I become superuser on Ubuntu Linux using su/sudo?”