Bug 462 - Add !env_reset compile time option
Add !env_reset compile time option
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Configure
1.7.4
PC Linux
: low enhancement
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-26 15:13 MST by Jordan Emmorey
Modified: 2011-03-03 09:52 MST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jordan Emmorey 2011-01-26 15:13:00 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.
Comment 1 Todd C. Miller 2011-01-28 16:52:37 MST
There will be a --disable-env-reset configure option in sudo 1.7.5
Comment 2 Todd C. Miller 2011-03-03 09:52:15 MST
Fixed in sudo 1.7.5 and 1.8.0.