ubuntu-devel@lists.ubuntu.com
[Top] [All Lists]

Re: Sudo even more secure

Subject: Re: Sudo even more secure
From: Scott James Remnant
Date: Thu, 23 Mar 2006 16:35:10 +0000
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
-- 
Scott James Remnant
scott@xxxxxxxxxx
-- 
ubuntu-devel mailing list
ubuntu-devel@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
<Prev in Thread] Current Thread [Next in Thread>