On 09/19/2011 09:24 PM, Bob Proulx wrote:
Just recently a new sudo entered Wheezy Testing and it changed the behavior of secure_path. See Bug#639841 for details. It no longer overrides your path with a standard system PATH by default. So now unless you set it in your /etc/suders file it will use the PATH it started with and if you don't already add the /usr/sbin and other paths then it won't either. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639841 Quick fix: Add this line to your /etc/sudoers file. Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"Bob

Thanks for the info; problem solved.


--
To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to