Working as root while Apache is running; how much a risk?

Ow Mun Heng Ow.Mun.Heng at wdc.com
Fri Jul 9 23:04:36 UTC 2004


On Fri, 2004-07-09 at 11:52, Alexander Dalloz wrote:
> Am Fr, den 09.07.2004 schrieb Michael Sullivan um 20:41:
> > When I issue a "ps -ef | grep httpd" I get:
> > 
> > [root at bullet root]# ps -ef | grep httpd
> > root      1938     1  0 13:06 ?        00:00:03 /usr/sbin/httpd
> > apache    2063  1938  0 13:06 ?        00:00:00 /usr/sbin/httpd
> > 
> > How do I fix this?  I've tried doing "su apache", but it tells me that
> > the account is not available....
> 
> What do you want to fix?! There is nothing to fix! Didn't you understand
> what all the others already explained you about the master process -
> running as user root - and the forked worker processes - running as
> unprivileged user apache - which do the real communication with clients.
Thanks for clearing that up. Even I thought that something was wrong.

hehe...

>   

-- 
Ow Mun Heng
Fedora GNU/Linux Core 2 (Tettnang) on D600 1.4Ghz CPU kernel
2.6.7-2.jul1-interactive 
Neuromancer 16:04:00 up 7:10, 5 users, load average: 1.40, 1.45, 1.20 





More information about the users mailing list