Bugzilla – Bug 1014
sudo manpage incorrectly claims PATH is passed unchanged
Last modified: 2022-01-27 19:48:50 MST
Hi, this is Debian Bug #659101, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659101, filed by Arnout Engelen ------ The sudo manpage, in the SECURITY NOTES section, mentions that: the actual PATH environment variable is not modified and is passed unchanged to the program that sudo executes Whether this is true, however, depends on the configuration (i.e. 'secure path'). The docs should mention that. See also http://stackoverflow.com/questions/257616/sudo-changes-path-why ------ Greetings Marc
I've updated the SECURITY NOTES section in commit https://www.sudo.ws/repos/sudo/rev/4f7035d6b921
The changes are present in the 1.9.9 release.