samba as non-root

Gerald Carter gcarter at valinux.com
Fri Aug 25 14:58:43 GMT 2000


Tom Warfield wrote:
> 
> Im not sure on how you would do it but last night i read that you could run
> samba not as root.  Something i will try later on 
> a different box, here is the link of where i 
> found some information about it at:
> http://us2.samba.org/samba/docs/man/smbd.8.html
> 
> Check out the -p option
> 
> After reading over that again today it appears to 
> be fairly complicated. I thought i had seen it somewhere 
> else and if i come up on that link i will send you a 
> message on where else i had read about that.

The man page is misleading.  smbd needs to run as root 
to change to the effective uid of the connecting user 
when performing operations on behalf of the user.





Cheers, jerry
----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com  VA Linux Systems    gcarter at valinux.com
       http://www.samba.org       SAMBA Team           jerry at samba.org
       http://www.eng.auburn.edu/~cartegw

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )




More information about the samba mailing list