View Full Version : Privileged Ports
03-04-2005, 10:02 AM
How do I allow a non-root user to run processes that bind to privileged ports (<1024)
I'm trying to set up a shoutcast server to bind to port 80, but I don't want to run it as a root user.
03-04-2005, 10:57 AM
The usual way is to start the server off running as 'root' and then switch to another user after binding to the port. This is what Apache does. Of course this needs to be programmed into the source code - it's not something you can do as a user if this feature is not already in the server executable.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.