Sunday, October 3, 2010

Sudo trick to get a root like shell

Here is the command to get a su like shell from sudo

sudo -i

1 comment:

  1. cool i didn't know that one, i use

    > sudo -s

    a lot so i can get the same env (PATH, LD_LIBRARY_PATH, cvs vars) as my user account with root privilege.