Re: [Samba] Samba as nonroot
- Date: Wed, 14 May 2008 18:31:00 +1000
- From: Matt Skerritt <matt.skerritt@xxxxxxxxx>
- Subject: Re: [Samba] Samba as nonroot
Oops, I accidently sent this to Michael's own email, not to the list. Here it is again in the right place.
On 14/05/2008, at 9:48 AM, Michael Heydon wrote:
lordm@xxxxxxxxxxxx wrote:Hi,Im trying to run samba as a non-root user and I was wondering if this iseven possibleNo, it's not.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).and if not what is preventing it from being ran as a normal user??
Also, I think samba needs to be able to fork and execute.It ought to be possible on Solaris 10 using privileges - I intend to test this myself in the next few weeks. (I currently have a DHCP server running successfully as a non-root user, binding to privileged ports etc etc).
I'll report my findings if anybody is actually curious. -- Matt Skerritt matt.skerritt@xxxxxxxxx -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
- Prev by Date: Re: [Samba] Samba as nonroot
- Next by Date: [Samba] Samba Mashup Report (#2) for Wednesday, May 14, 2008
- Previous by thread: [Samba] ntlm_auth authentication to two different domains
- Next by thread: [Samba] Samba Mashup Report (#2) for Wednesday, May 14, 2008
- Index(es):