Bug 284 - please provide default path configuration option
please provide default path configuration option
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Configure
1.6.9
PC Linux
: low enhancement
Assigned To: Todd C. Miller
https://bugs.launchpad.net/bugs/192651
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-17 08:26 MDT by Martin Pitt
Modified: 2008-06-11 09:19 MDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.