Avoid typing sudo on Ubuntu Linux

Q. How do I disable sudo command? I prefer old way to become super-user i.e use of ‘su -‘ command.

A. New Ubuntu Linux v6.06 (LTS) Server is here and one of the annoying feature is use sudo (which is good for Desktop systems) for each command. On a dedicated Linux server I prefer to use su to become a super user and then run command and log out.

So after installation type following commands to setup root account:
sudo passwd root
Input root password.

Now use su for rest of your work:
$ su -
Then carry out all your work.

Please note that I personally recommend using sudo, which is much more secure and better to use. But, since you asked for it I had give you all the instructions.

Posted by: SXI ADMIN

The author is the creator of SXI LLC and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.