undo sudo

Bill O'Connor billyoc at gmail.com
Wed May 21 21:45:02 UTC 2008


Mario Vukelic <mario.vukelic at dantian.org> writes:
> sudo -i     (equivalent to sudo su - , gives you roots environment configuration)
>
> To start a root shell, but keep the current shell's environment, use: 
>         
> sudo -s     (equivalent to sudo su)
>
> https://help.ubuntu.com/community/RootSudo

I've always done 'sudo bash', I never even looked at the man page.  <g>




More information about the ubuntu-users mailing list