Annoying sudo change?

Tom Horsley tom.horsley at att.net
Thu Dec 11 12:46:39 UTC 2008


Is there some way to make sudo pay attention to my $PATH
(or even root's $PATH)?

I have a program named "mountie" in /usr/local/bin

I have /usr/local/bin in my $PATH. If I login as root,
I also see /usr/local/bin in root's $PATH, yet the
command:

sudo mountie

fails, while the command:

sudo /usr/local/bin/mountie

works.

Before going to fedora 10, plan old "sudo mountie" worked
fine.

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?




More information about the fedora-list mailing list