[<<][pool][>>][..]
Fri Sep 23 09:14:25 EDT 2011

PATH and sudo

Tried to help Ben at GLLUG meeting yesterday.  Problem was that sudo
by itself does not set a PATH variable which contains the sbin
directories.  Why is this, and how to fix it?  We quick hacked it by
adding the sbin dirs to his normal user's PATH.

I have a similar problem on Debian testing.

Looking around I found that Debian's / Ubuntu's sudo is compiled with
a secure-path set[1].

[1] http://stackoverflow.com/questions/257616/sudo-changes-path-why



[Reply][About]
[<<][pool][>>][..]