On Thu, 4 Feb 2010 16:00:39 -0800
suvayu ali wrote:

> As far as I understand this, sudo still uses your (the regular user's)
> $PATH.

Nope, that's merely what the docs claim. In fact, the security geeks
decided sudo absolutely needed to have a hard coded PATH and as far
as I know the only way to fix that is to rebuild it from source. It
has been like this for a while now.

https://bugzilla.redhat.com/show_bug.cgi?id=475990

Maybe you could create an alias that runs sudo env PATH=$PATH "$@"
or something to sneak the path back into the sudo'ed command...
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Reply via email to