about sudo and su

Derek Broughton derek at pointerstop.ca
Tue May 12 13:45:03 UTC 2009


Mihamina Rakotomandimby (R12y) wrote:

> On 05/12/2009 11:23 AM, Corwin wrote:
>> for a terminal use you just type
>> "ubuntu su"
> 
> Yes, but you should explain a bit more.
> I use "sudo -s" or "su -".

You _should_ use "sudo -i", not "sudo -s".  "-s" carries along your 
environment variables, which isn't what you usually want.
-- 
derek






More information about the ubuntu-users mailing list