Re: path fudge

"Oisin C. Feeley" <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <[email protected]>

On Sat, 7 Jun 2003, Michael Fratoni wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Saturday 07 June 2003 08:25 pm, Cameron Simpson wrote:
>> On 13:54 07 Jun 2003, jdow <[email protected]> wrote:
>> | Usually one wants to do the module "thing" as root. That's why /sbin
>> | and /usr/sbin are not on the standard user path. So I suspect the
>> | proper way to fix it is to perform the operation as root.
>>
>> Yeah, but on RedHat /sbin's not in root's $PATH either:-(
>
>I don't have a machine running 7.2 at the moment.
>/sbin is in root's $PATH on my 7.3, 8.0, and 9 machines:
>
># cat /etc/redhat-release ; echo $PATH
>Red Hat Linux release 8.0 (Psyche)
>/bin:/sbin:/usr/bin:/usr/sbin:.....
>

Me too.  Isn't this disparity the result of doing "su root" versus "su 
- root", where the latter behaves as a login shell?

Oisin Feeley
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.