> -----Original Message----- > From: Tim Liu [mailto:tim.gangliu@xxxxxxxxx] > Sent: Wednesday, November 08, 2006 8:50 AM > To: users@xxxxxxxxxxxxxxxx > Subject: [users@httpd] config "apache" account > > Folks, > > am newie to apache linux . google and read apache docu but > don't find answer. thx in advance. > > What is "apache" account? After apache installation, i find > the following account: > [] id apache > uid=48(apache) gid=48(apache) groups=1704(labtools),48(apache) > > Should i use it to lauch apache server? or use root account? It depends on what port you want apache to listen to. If it's the default port 80, then you have to start apache as root because only root can open ports below 1024. Once the parent apache process starts as root, it will spawn child processes running under the user "apache" and those will serve the requests. If you want to listen on a port > 1024 (eg, 8000), then you may start apache as user "apache" (you don't have to - you can still start as root). This is just a way to allow non-root users to run a webserver on a high-end port... BTW, check that the apache "User" drective is set to "apache". Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > thx > > Tim > > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. --------------------------------------------------------------------- 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