httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ross A. Del Duca" <>
Subject Re: [users@httpd] RE: failure notice
Date Wed, 05 Apr 2006 17:10:10 GMT
The catch is the port.  If your server is not listening on standard ports
(80 or 443) you can start your server up as any user.  However, the
privileged ports (1-1024) are generally (always?) restricted so that only
UID 0 can create listeners that bind to them.  As indicated by a previous
post, the general idea is to start up the listener as UID 0, bind to the
privileged port, and then drop the process owner to a non-UID 0 account
after the bind is successful.

On 4/5/06 9:43 AM, "Amalan, S" <> wrote:

> Not to interrupt an on-going discussion, but I am interested in the
> user/group requirements for Apache as well.
> I didn't see anywhere on the Apache website for installation steps that
> one needs to be root in order to start or run the Apache server, but I
> have heard it from others.  So which way is it?
> I have been able to install and run Apache as a regular user with no
> root privileges, which is what confuses me when some say the user needs
> be root.
> Can anyone explain the requirements for me?
> Thanks much.
> Amalan


Ross A. Del Duca, GCIH
Security Officer
Infrastructure Architect

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message