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

Re: Misconfiguration of sudo is insecure (Was: Sudo even more secure)

Subject: Re: Misconfiguration of sudo is insecure Was: Sudo even more secure
From: Yuki Cuss
Date: Thu, 23 Mar 2006 10:52:48 +0000
2006-03-23 (æ) ã 06:54 +0100 ã Jens Bech Madsen ãããæãããã:
> ons, 22 03 2006 kl. 23:39 +0100, skrev Ãtienne Bersac:
> > Hello,
> > 
> > A good solution should be to really become root when typing sudo -s.  
> > This is sometimes very annoying that some .files of user's home  
> > belong to root, because sudo -s keep using user's home as $HOME.
> 
...
> I think it would be a mistake to change the defaults of sudo without
> carefully considering what might break.
> 
> 
> /Jens
> 
> 

Please look into using `sudo -i'. This revitalises most of the
environment, including HOME. It simulates a login shell, as if you
logged in with root.

 - Yuki.



-- 
ubuntu-devel mailing list
ubuntu-devel@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel

<Prev in Thread] Current Thread [Next in Thread>