[Samba] Samba as nonroot

Michael Heydon michaelh at jaswin.com.au
Tue May 13 23:48:59 GMT 2008


lordm at stat.ufl.edu wrote:
> Hi,
>
> Im trying to run samba as a non-root user and I was wondering if this is
> even possible
No, it's not.

> and if not what is preventing it from being ran as a normal
> user??
>   
You couldn't bind to privileged ports would be the big one. You might be 
able to modify the source so it runs on different ports (although that 
would mean windows systems couldn't connect, you might be able to coax 
another samba machine into it), you would then have issues with 
permissions (you couldn't suid/sgid to the connecting user).

*Michael Heydon - IT Administratorr *
michaelh at jaswin.com.au <mailto:michaelh at jaswin.com.au>



More information about the samba mailing list