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

Yuki Cuss celtic at sairyx.org
Thu Mar 23 10:52:48 GMT 2006


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.





More information about the ubuntu-devel mailing list