sudo: always_set_home

Matt Zimmerman mdz at canonical.com
Sun Jan 9 16:26:49 CST 2005


On Mon, Jan 10, 2005 at 07:36:08AM +1100, Jeff Waugh wrote:

> <quote who="David Mandelberg">
> 
> > cons:
> > * may cause problems with gnome apps, but I've been using it for a few
> > weeks without any problems
> 
> The only GNOME apps you'd want to run with elevated privileges would be
> administrative apps, and they very rarely rely on user settings (and are
> better off explicitly avoiding user settings), so I agree with this
> suggestion in theory - makes sudo use a lot clearer. Matt, any practical or
> security issues with this?

The only surprise that I think would result would be that bash would no
longer read ~/.bash_profile and such during 'sudo -s'.  I work around this
with zsh by setting ZDOTDIR, so this doesn't really affect me, but it could
surprise others.

Apart from that, I've no problem with setting this option by default.

-- 
 - mdz



More information about the ubuntu-devel mailing list