Ubuntu question

Michael Torrie torriem at gmail.com
Mon Apr 7 10:18:50 MDT 2008


Chris Carey wrote:
> On Mon, Apr 7, 2008 at 9:34 AM, Michael Torrie <torriem at gmail.com> wrote:
>>  I prefer:
>>
>>  sudo su -
> 
> I use
> 
> sudo -s

sudo -s isn't strong enough magic.  You don't get root's environment;
you just inherit the one you came from.  So /sbin, /usr/sbin, etc,
aren't in the path.  And neither are any fancy things you put in root's
shell environment.





More information about the PLUG mailing list