From: Randall Parker
Tim Boyer wrote:
> On Tue, 25 Jul 2006 17:09:44 -0700, Randall Parker
>
> wrote:
>
>> John Beckett wrote:
>>> Randall Parker
>>>
>>> wrote in message news::
>>>> Is sbin supposed to be on my path?
>>> I don't know, but I suspect not (unless you are logged in directly as
>>> root, which is considered bad form).
>> Here's my path before logging in as root:
>>
>> [randall{at}localhost browsers]$ echo $PATH
>> /usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/randall/
bin
>>
>> Here's my longer path after logging in as root:
>>
>> [root{at}localhost browsers]# echo $PATH
>> /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6
/bin
>> :/home/randall/bin
>>
>
> Did you really log in as root, or did you just do a su ?
I did su. The su command changes the path. The su - also changes the path
in a slightly different way.
So doing su is not really logging in as root? Linux continues to be a
mystery. In my simple mind I'm either logged in some way or I'm not.
>
--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270 5030/786
@PATH: 379/45 1 106/2000 633/267
|