undo sudo

Mario Vukelic mario.vukelic at dantian.org
Wed May 21 20:49:03 UTC 2008

On Wed, 2008-05-21 at 11:25 -0700, Steve Lamb wrote:
> The elevated privilege is not a state thus any time you need to run a
> sequence of commands which require it as a state it fails.  Yes, I
> consider having to prefix multiple commands with sudo as a failure,
> esp
> when some of those commands are shorter than sudo, such as the above
> case with ls.
>     Of course I get around it by simply putting the following alias in
> my
> .zshrc file on Ubuntu systems:
> root = "sudo su -s"

What's wrong with sudo -i and sudo -s ?

More information about the ubuntu-users mailing list