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 debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e7a4f24.5030...@gmail.com

Reply via email to