Re: [users@httpd] RE: failure notice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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" <Sountharanayaga.Amalan@xxxxxxxxxxxx> 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

RDelDuca@xxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux