[Samba] RE: Samba processes

Javid Abdul-AJAVID1 abduljavid at motorola.com
Tue Feb 18 21:06:57 GMT 2003

Thanks John

Wondering y some smbd client connections show up as userid though parent is
root not all client connections are show up as root.

Is there a way to know when a client connection from windows side will shoup
as root or user id.

Thanks again

-----Original Message-----
From: John H Terpstra [mailto:jht at samba.org] 
Sent: Tuesday, February 18, 2003 1:49 PM
To: Javid Abdul-AJAVID1
Cc: samba-technical at lists.samba.org; samba at lists.samba.org
Subject: Re: [Samba] RE: Samba processes

On Tue, 18 Feb 2003, Javid Abdul-AJAVID1 wrote:


We saw your first posting. Please be patient.

Both smbd and nmbd run as root. All user interaction with the file system is
done as the user who initiated the process. Please refer to the source code
to see what happens. Samba has to ba able to perform a number of tasks that
can be done only as root.

> -----Original Message-----
> From: Javid Abdul-AJAVID1 [mailto:abduljavid at motorola.com]
> Sent: Tuesday, February 18, 2003 11:18 AM
> To: samba-technical at lists.samba.org
> Cc: samba at lists.samba.org
> Subject: Samba processes
> Hi
> Am noticing smbd processes are running as root and occassionally I see 
> a child process as userid


> Just curios under what circumstances the smbd runs as user id process 
> ( unix id ) and running as root is a security risk?

Please explain where the security risks are. We would appreciate your

- John T.
John H Terpstra
Email: jht at samba.org

More information about the samba-technical mailing list