27 Aug
2010
27 Aug
'10
10:47
Guido Berhoerster wrote:
Note that it is not necessary to modify a user's PATH in order to change the PATH that sudo is using, we could simply put
Defaults secure_path = /sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin
into /etc/sudoers to provide a secure PATH including sbin. I think that would be a more sensible solution which does not unecessarily pollute users PATHs.
That means sudo will not find programs in the users' PATH (e.g. ~/bin) anymore though. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org