2009-06-06

Root privileges

Just if someone interested there are some ways to get root privileges other than setting up a root password in Ubuntu command line. To gain supervisor rights use one if these:

sudo bash
sudo su

To make it real root, with the also the environment variables set:
sudo su -

I usually make a command named "s" to the bin/ directory in my home, that is accessible from anywhere. Also can make that no password ever required, just insert the following line to the end of the /etc/sudoers file:

your_username ALL=NOPASSWD: ALL

No comments:

Post a Comment