On Sat, Nov 15, 2008 at 03:07:34PM +0530, vishesh kumar
wrote:> My server running samba 3.0.28 on RHEL 5.2
>
> command 'ps -aux | grep smbd' list running process in following
format
>
> root 29334 0.0 0.1 15748 4384 ? S 13:41 0:03 smbd -D
> 16777231 29413 0.0 0.0 15712 3880 ? S 13:42 0:00 smbd -D
> ABP\anil 29414 0.0 0.0 15588 4076 ? S 13:42 0:00 smbd -D
> 16777291 29440 0.0 0.1 15992 4292 ? S 13:43 0:00 smbd -D
> 16777317 30281 0.0 0.0 15768 4040 ? S 13:59 0:00 smbd -D
> 16777242 30475 0.0 0.0 15592 3896 ? S 14:03 0:00 smbd -D
>
> in first column, some process display root, some display uid number of user
> and some display name of user.
> I eager to know why smbd process run under diffrent users.
For normal operations smbd switches into the authenticated
user context. From time to time, smbd needs to perform tasks
that can only be done as root, so it switches back. File
system access will always be done as user.
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :
http://lists.samba.org/archive/samba/attachments/20081115/0143cd52/attachment.bin