Child process, which has rights of normal users or "nobody user" receives root's privileges after few signals "SIGHUP" sent to the parent smbd process.
Child process, which start when anybody connect to the smb-services, and which are visible in the table of command "smbstatus".
Please provide more details. It is completely normal for smbd to
switch between running as root and running as the connected user.
Ok, I have main process, which running from root and which have superuser rights.
When guest user connected, smbd run child process, which have nobody privileges.
For example, I connect to the my incoming throw Konqueror.
smbstatus shown, that child process have pid = 5567.
ps axu | grep 5567 shown, that process running from user "nobody"
Few times I run command
ps axu | grep 5567
and see, that process 5567 running by "nobody"
I run "ps axu | grep 5567" many times, and after some time I can see that the process have root uid.
Or, when process dying, it gets root privileges?
This is normal. No bug here.
Ok, then I have question.
I discovered this when I wrote my VFS module.
I need use root privileges when guests connect to the my
services, but smbd runs process from user nobody...
How I can get root privileges in my VFS module?
Even on a short time interval.
Or give me answer , where can I ask my question?
Please post your question to the samba-technical mailing list.