Re: [EMAIL PROTECTED] How in the name of LINUX do u set apache2.2 to run as user www-data

2007-08-30 Thread Matus UHLAR - fantomas
On 26.07.07 02:37, Demetri T. wrote: OK does anyone here know why when i run ps aux in a terminal i can see 4 www-data and 1 as root for apache, but when i use xfce taskmanager i see the root user running all apache process? all this time i was thinking there was some config error. probably

Re: [EMAIL PROTECTED] How in the name of LINUX do u set apache2.2 to run as user www-data

2007-08-30 Thread Jacqui caren
Matus UHLAR - fantomas wrote: On 26.07.07 02:37, Demetri T. wrote: OK does anyone here know why when i run ps aux in a terminal i can see 4 www-data and 1 as root for apache, but when i use xfce taskmanager i see the root user running all apache process? all this time i was thinking there

Re: [EMAIL PROTECTED] How in the name of LINUX do u set apache2.2 to run as user www-data

2007-07-26 Thread Demetri T.
Demetri T. wrote: I have googled for information in configuring apache to run as www-data user a couple of days and all i find are tid bits and they are very general. I tried changing permissions for the directories, the www-data user and group were added by the installation of xubuntu I

[EMAIL PROTECTED] How in the name of LINUX do u set apache2.2 to run as user www-data

2007-07-25 Thread Demetri T.
I have googled for information in configuring apache to run as www-data user a couple of days and all i find are tid bits and they are very general. I tried changing permissions for the directories, the www-data user and group were added by the installation of xubuntu I have search high and

Re: [EMAIL PROTECTED] How in the name of LINUX do u set apache2.2 to run as user www-data

2007-07-25 Thread Dmitri Colebatch
Hi Demetri, Change the User parameter in httpd.conf. Here's what I have in mine: # If you wish httpd to run as a different user or group, you must run # httpd as root initially and it will switch. # # User/Group: The name (or #number) of the user/group to run httpd as. # . On SCO (ODT 3) use

Re: [EMAIL PROTECTED] How in the name of LINUX do u set apache2.2 to run as user www-data

2007-07-25 Thread Demetri T.
Dmitri Colebatch wrote: Hi Demetri, Change the User parameter in httpd.conf. Here's what I have in mine: # If you wish httpd to run as a different user or group, you must run # httpd as root initially and it will switch. # # User/Group: The name (or #number) of the user/group to run httpd as.

Re: [EMAIL PROTECTED] How in the name of LINUX do u set apache2.2 to run as user www-data

2007-07-25 Thread Joshua Slive
On 7/25/07, Demetri T. [EMAIL PROTECTED] wrote: thats already set by default when i installed apache(which is www-data). I think i am having an issue either with file/directory permissions and/or on how Apache is starting up; it just stays running as root instead switching over to www-data

Re: [EMAIL PROTECTED] How in the name of LINUX do u set apache2.2 to run as user www-data

2007-07-25 Thread Dragon
Demetri T. wrote: thats already set by default when i installed apache(which is www-data). I think i am having an issue either with file/directory permissions and/or on how Apache is starting up; it just stays running as root instead switching over to www-data (the user/group set when

Re: [EMAIL PROTECTED] How in the name of LINUX do u set apache2.2 to run as user www-data

2007-07-25 Thread Joshua Slive
On 7/25/07, Dragon [EMAIL PROTECTED] wrote: I am sure somebody will correct me if I am wrong but IIRC, invoking httpd directly results in it continuing to run as the user that invoked it. Consider yourself corrected ;-) httpd always switches users for child processes when started as root.

Re: [EMAIL PROTECTED] How in the name of LINUX do u set apache2.2 to run as user www-data

2007-07-25 Thread Dragon
Joshua Slive wrote: On 7/25/07, Dragon [EMAIL PROTECTED] wrote: I am sure somebody will correct me if I am wrong but IIRC, invoking httpd directly results in it continuing to run as the user that invoked it. Consider yourself corrected ;-) httpd always switches users for child processes

Re: [EMAIL PROTECTED] How in the name of LINUX do u set apache2.2 to run as user www-data

2007-07-25 Thread Demetri T.
Joshua Slive wrote: On 7/25/07, Demetri T. [EMAIL PROTECTED] wrote: thats already set by default when i installed apache(which is www-data). I think i am having an issue either with file/directory permissions and/or on how Apache is starting up; it just stays running as root instead switching