bug 58002

Matt Zimmerman mdz at ubuntu.com
Sun Sep 10 02:02:43 BST 2006


On Sat, Sep 09, 2006 at 09:34:09PM +0200, Jan Claeys wrote:
> Op vr, 08-09-2006 te 16:14 -0700, schreef Matt Zimmerman:
> > We should hope so.  Unfortunately, the issue is not straightforward.
> > sudo's default behaviour does what the user expects in some cases, but
> > not in others.
> > 
> > For an example of the former, compare "sudo gedit /etc/motd" to
> > "sudo -H gedit /etc/motd". 
> 
> What's the difference between those two that might cause problems?

sudo -H sets the HOME environment variable to root's home directory, while
the other leaves it unchanged.

-- 
 - mdz



More information about the ubuntu-devel mailing list