| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: How to figure if I have SAMBA installed? |
From: Joe Hunt
The chkconfig command not found message is because it is not on the search
path. There is a difference between
su
and
su -
The latter creates an environment similar to what one would have if logging
in directly as root. The former uses the current environment.
echo $PATH
should show your path.
On Mon, 24 Jul 2006 19:23:42 -0700, Randall Parker
wrote:
>Tim Boyer wrote:
>
>>>> chkconfig --list smb
>>> The chkconfig doesn't work:
>>>
>>> [randall{at}localhost ~]$ chkconfig --list smb
>>> bash: chkconfig: command not found
>>>
>>>
>>
>> That's... bad. Is it a path problem? Do a ls -la /sbin/chkconfig, and see
if
>> it's there.
>>
>
>Okay:
>
>[randall{at}localhost ~]$ ls -la /sbin/chkconfig
>-rwxr-xr-x 1 root root 46748 Feb 24 15:16 /sbin/chkconfig
>[randall{at}localhost ~]$ chkconfig
>bash: chkconfig: command not found
>[randall{at}localhost ~]$ /sbin/chkconfig --list smb
>smb 0:off 1:off 2:off 3:off 4:off 5:off 6:off
>[randall{at}localhost ~]$
>
>Is sbin supposed to be on my path? How can I check that?
--- 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™.