PDA

View Full Version : Samba Adventures : HELP



paul sanz
16th April 2008, 10:18 AM
How can I change samba owner (smbd+nmbd) from UID=root to another UID=smbuser???????? see below;

$ ps -ef
root 9498 1 0 11:14 ? 00:00:00 /usr/sbin/nmbd -D
root 9500 1 0 11:14 ? 00:00:00 /usr/sbin/smbd -D
root 9504 9500 0 11:14 ? 00:00:00 /usr/sbin/smbd -D

I want to run samba as smbuser and not root.

Is there a command to specify the UID owner you want to be used to start-up samba?? I dont want root to own samba.

Please any ideas will be well appreciated.

Thank you