Annoying sudo change?

Marc Wilson msw at cox.net
Fri Dec 12 02:01:24 UTC 2008


On Thu, Dec 11, 2008 at 07:46:39AM -0500, Tom Horsley wrote:
> Is there some way to make sudo pay attention to my $PATH
> (or even root's $PATH)?

Sudo sanitizing the path is always a good thing, and should be enabled by
default.

> How can I get the old behavior back so I don't have to
> individually stumble across the 47,329 places I may
> have sudo embedded in various scripts?

Ew.  Don't do that.

-- 
 Marc Wilson |     We'll try to cooperate fully with the IRS, because,
 msw at cox.net |     as citizens, we feel a strong patriotic duty not to
             |     go to jail.  -- Dave Barry




More information about the fedora-list mailing list