>> The problem appears to be that for some reason, sudo doesn't put
>> the /usr/sbin and /sbin directories in the path.

|> sudo wasn't designed to do that. 

That is not generally true.  I have at least two boxen (with
distribution-provided sudo installs) where sudo does result in a PATH
that includes /sbin and /usr/sbin even though those are not in my
account's PATH on those boxen.

On a debian box:

:; printenv PATH
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
:; sudo printenv PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin

OTOH, I've verified that rh7.3 does not to PATH.

I'd suggest gnetoo should follow debian's precedents more than rh's precedents....

-JimC


--
[EMAIL PROTECTED] mailing list

Reply via email to