Go 2 Linux/Unix World !!
Tips n Tricks of Linux/Unix/Solaris.........
Pages
Home
Popular Linux Distribution
Useful Linux Applications
Useful Linux-Links
Contact Me
Tuesday, May 25, 2010
root, sudo and shells
To start a root shell, starting root's environment and login scripts, use:
sudo -i
This is similar to
sudo su -
, gives you roots environment configuration.
To start a root shell, but keep the current shell's environment, use:
sudo -s
This is similar to
sudo su
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment