Bug 462

Summary: Add !env_reset compile time option
Product: Sudo Reporter: Jordan Emmorey <jordan>
Component: ConfigureAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: low    
Version: 1.7.4   
Hardware: PC   
OS: Linux   

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.