This is a discussion on Re: Apache running as root within the Apache Web Server forums, part of the Web Server and Related Forums category; What happens when you run: ps aux | grep httpd from shell? It should tell you who is really running Apache. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
What happens when you run:
ps aux | grep httpd from shell? It should tell you who is really running Apache. Sincerely, Eric 'phpfreak' Rosebrock http://www.phpfreaks.com Alvaro G. Vicario wrote: > My httpd.conf has these lines: > User apache > Group apache > Both user and group exist. However, it seems Apache it's actually > running > with as root. When I check environmental variables using PHP it says > things > like: > PWD=/root > USER=root > MAIL=/var/spool/mail/root > BASH_ENV=/root/.bashrc > HOME=/root > I need to run a little shell script from a PHP page and I don't want it > to > have root privileges. I've checked Google and Apache.org but I don't > seem to > be searching correctly... Any hints? Thank you in advance. ##-----------------------------------------------## Article posted from PHP Freaks NewsGroups http://www.phpfreaks.com/newsgroups Get Addicted: alt.apache.configuration ##-----------------------------------------------## |
| Thread Tools | |
| Display Modes | |
|
|