Bugzilla – Bug 462
Add !env_reset compile time option
Last modified: 2011-03-03 09:52:15 MST
It would be great to have a compile time option that disables env_reset. I'm dealing with a large environment migration from a very old version of sudo which cannot handle the "Defaults !env_reset" option in the sudoers file. I get a syntax error which breaks sudo. If there was an option to disable this at compile time, I would be able to upgrade the environment to newer versions of sudo, then add that option to the sudoers file and recompile sudo without that flag. Please let me know if you need any further information.
There will be a --disable-env-reset configure option in sudo 1.7.5
Fixed in sudo 1.7.5 and 1.8.0.