On Wed, 2006-03-22 at 13:04 -0500, Dana Olson wrote:
> On Wed, 2006-03-22 at 18:45 +0100, Ãtienne Bersac wrote:
> > Hello
> > > There was a mention on slashdot a couple days ago talking about how
> > > "sudo -s" doesn't get logged at all and provides you with a nice
> > > root shell on OSX.
> > >
> > > Anyone here able to take a few minutes and check how this functions
> > > under ubuntu?
> > I often use this feature. It's quite like type su and the root
> > password under debian. But there you type your own password.
> > Ãtienne.
> You can use "sudo su" on Ubuntu as well. I choose this method because it
> retains the current directory, and I'm too lazy to use cd again. :)
> I have no idea about logging stuff.
In /var/log/auth.log every time "sudo -s" or "sudo -i" is run:
Mar 23 16:34:32 quest sudo: scott : TTY=pts/3 ; PWD=/home/scott ;
USER=root ; COMMAND=/bin/zsh
Scott James Remnant
ubuntu-devel mailing list