RSS Feed

Open a root/user shell with sudo

Making your life easier should be of some interest to you. If you have full sudo rights simply run the following command in your terminal to open a root shell.

sudo -s

Also, with sudo you can open a shell as a specific user other than root, without having to “su” and know the users password.

sudo -s -u user

Example

sudo -s -u feemo

Nice and easy!

Posted in Linux on the 18th June 2010

SPEAK YOUR MIND...

Your email address will not be published. Required fields are marked *

*