Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jun 2005 20:22:13 -0700
From:      "Darren Pilgrim" <dmp@bitfreak.org>
To:        "'Mrad James Deane'" <xtremejames183@msn.com>, <freebsd-net@freebsd.org>
Subject:   RE: www user than root
Message-ID:  <000401c577a2$c095b090$0b2a15ac@SMILEY>
In-Reply-To: <BAY11-F12EF48C9216082BFB35A7B9CEB0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Mrad James Deane
> 
> hello i want to know how the www user with uid:80 can print
> on a priviliged port like 80 rather the root user  im very
> in trouble i did not find a solution yet mac_portacl is one
> but it is very experimental please help. thanks

Most daemons that bind to "priveleged" ports and run as a non-root uid,
start as root, then change the effective UID after binding to the port.

Aside from writing the program to do these things, there are packages
such as daemontools (it's in the ports tree) available that provide the
functionality required as wrapper programs




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000401c577a2$c095b090$0b2a15ac>