Bug 284

Summary: please provide default path configuration option
Product: Sudo Reporter: Martin Pitt <martin.pitt>
Component: ConfigureAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: low    
Version: 1.6.9   
Hardware: PC   
OS: Linux   
URL: https://bugs.launchpad.net/bugs/192651

Description Martin Pitt 2008-03-17 08:26:16 MDT
When building with --with-secure-path (as we do in the Debian and Ubuntu packages), it is pretty hard to customize this setting locally. $PATH can be temporarily overridden with

  sudo PATH=... <command>

but not permanenty in sudoers. It would be nice if such a configuration option existed to change the internal default.
Comment 1 Todd C. Miller 2008-03-17 11:01:32 MDT
This feature is already present in sudo 1.7, which is currently in beta.  The "secure_path" sudoers option can be used to set the PATH.
Comment 2 Todd C. Miller 2008-06-11 09:19:45 MDT
Marking as fixed now that sudo 1.7.0 has a release candidate.