[sudo-users] Setting PATH
Todd C. Miller
Todd.Miller at courtesan.com
Wed Oct 22 23:16:42 EDT 2008
In message <OFEBA5CCC8.7B3055AD-ON852574EA.0042BFFA-852574EA.00438B51 at uscmail.u
scourts.gov>
so spake (Tom_Smith):
> I would like to set the PATH explicitly within sudo, not simply inherit or
> deny what the user's already set. Is there a way to do this?
The only way to do this (unless you are running the sudo 1.7 release
candidate) is to build sudo with the --with-secure-path[=PATH]
configure option.
- todd
More information about the sudo-users
mailing list