Steven,

I think you must have done a 'ps -ef | grep nmb'.  and you are seeing your
own grep command.  Which is, of course, run by you.

chmod changes the permissions of files.  chown changes ownership of
files....  I don't think there is a (userspace) command for changing the
ownership of a process (surely I'm wrong?).

There is a trick for not getting your grep in the output:  ps -ef | grep
[n]mb

Finally, I've never used -ef on Linux, isn't that Sun or HP-UX?  ps is one
of those apps that is fairly different between different unicies.  I use 'ps
aux' (hyphen regrettably optional).

-Alan Mead

----- Original Message -----
From: Steven Pierce <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 28, 2000 6:18 PM
Subject: Re: samba




Pat,

I did a ps -ef on the nmb, and this is what I got in return:

steven    2509  2492  0 18:15 pts/0    00:00:00 grep nmb.

Now that show as me, should it show as ROOT?   Do you know the command to
change it to
root if needed?  I thought it was chmod, not sure.

Steven

*********** REPLY SEPARATOR  ***********

On 6/28/2000 at 10:15 AM Pat Cookson wrote:

>I question/suggestion that I havent seen in this thread. Is the nmbd
>running? Often, if there is an error in config, smb will start but nmb will
>not. Without nmb, there is no advertising of server/share.
>
>Just a thought
>
>
>Pat Cookson
>Atlanta Newspapers
>
>
>
>
>"Steven Pierce" <[EMAIL PROTECTED]> on 06/27/2000 10:48:42 PM
>
>Please respond to [EMAIL PROTECTED]
>
>To:   [EMAIL PROTECTED]
>cc:
>
>Subject:  Re: samba
>
>
>
>
>Carey,
>
>I do not know the sharename.   One person told me to do a ps -gax | grep
>smbd and it is running.  I can
>not find it.
>
>Steven
>
>*********** REPLY SEPARATOR  ***********
>
>On 6/27/2000 at 6:57 AM Carey F. Cox wrote:
>
>>On Mon, 26 Jun 2000, Steven Pierce wrote:
>>
>>>
>>> Zoki,
>>>
>>> Is there  a way to check to see if Samba is running??  I tried to load
>linuxconf and it tells me there is an
>>> error with samba.  I am not sure what to look at.  Thank you.
>>>
>>> Steven
>>
>>Steven,
>>
>>Try the following on the command line of the server...
>>
>>$ smbclient file://servername/sharename
>>
>>where:
>>    servername = the name of the samba server
>>    sharename  = the name of the samba share your are trying to access.
>>
>>The sharename could be a user, guest account, machine account, etc.
>>
>>Carey
>>
>> ======================================================================
>><>   Carey F. Cox, PhD             |  PHONE: (409) 880-8770           <>
>><>   Assistant Professor           |  FAX:   (409) 880-8121           <>
>><>   Dept. of Mech. Eng.           |  EMAIL: [EMAIL PROTECTED]  <>
>><>   Lamar University              |  WEB:   N/A                      <>
>> ======================================================================
>>
>>
>>--
>>To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
>>as the Subject.
>
>
>
>
>--
>To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
>as the Subject.
>
>
>
>
>
>
>
>
>--
>To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
>as the Subject.




--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to