Re: Apache running as root

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. ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-07-2003
phpfreak
 
Posts: n/a
Default Re: Apache running as root

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:59 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0