* Ludwig Nussel
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.
That's right, but I find that actually more secure while still providing convenience for system commands. -- Guido Berhoerster -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org