Re: [EMAIL PROTECTED] config apache account

2006-11-09 Thread Matus UHLAR - fantomas
On 08.11.06 08:54, Tim Liu wrote:
 Should I create apache account in linux? or it is created automatically
 during installation?

I use two accounts for apache - one who owns config and some data files, one
which apache runs under. Apache can only write to its pid, log and poddibly
other files (semaphores or what)

however on many systems only one user is used, but apache usually runs under
different user than the user owning the data...

-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
BSE = Mad Cow Desease ... BSA = Mad Software Producents Desease

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] config apache account

2006-11-08 Thread Boyle Owen
 -Original Message-
 From: Tim Liu [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, November 08, 2006 8:50 AM
 To: users@httpd.apache.org
 Subject: [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] config apache account

2006-11-07 Thread Tim Liu
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?thxTim