www user than root
Darren Pilgrim
dmp at bitfreak.org
Thu Jun 23 03:22:16 GMT 2005
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
More information about the freebsd-net
mailing list