TIP: Click on subject to list as thread! ANSI
echo: linuxhelp
to: Randall Parker
from: Tim Boyer
date: 2006-07-27 20:45:54
subject: Re: How to figure if I have SAMBA installed?

From: Tim Boyer 

On Wed, 26 Jul 2006 18:23:07 -0700, Randall Parker

wrote:

>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/X11R
6/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.
>
>>

Doing a su is not really logging in as root.  Doing a su - _is_ really
logging on as root.  The '-' makes a huge difference.

--
tim boyer
tim{at}denmantire.com

--- 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

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.