Ilja was quit correct:

apache-1.3 on debian:

root     21353  0.0  0.1 144880 1548 ?       S    May09   0:08 /usr/sbin/apache
www-data 24087  0.0  0.4 147500 4220 ?       S    13:40   0:00 /usr/sbin/apache
www-data 24606  0.0  0.4 147500 4220 ?       S    13:42   0:00 /usr/sbin/apache
www-data 25433  0.0  0.4 147500 4220 ?       S    13:47   0:00 /usr/sbin/apache
www-data 26881  0.0  0.4 147500 4172 ?       S    13:55   0:00 /usr/sbin/apache
www-data 28305  0.0  0.4 147500 4172 ?       S    14:08   0:00 /usr/sbin/apache
www-data 29250  0.0  0.4 147500 4220 ?       S    14:13   0:00 /usr/sbin/apache
www-data 29536  0.0  0.4 147500 4172 ?       S    14:14   0:00 /usr/sbin/apache
www-data 29537  0.0  0.4 147500 4220 ?       S    14:14   0:00 /usr/sbin/apache
www-data 29538  0.0  0.4 147500 4220 ?       S    14:14   0:00 /usr/sbin/apache


apache2-mpm-prefork on debian:
root 3539 0.0 0.2 7024 2376 ? Ss 15:03 0:00 /usr/sbin/apache2 -k start www-data 3540 0.1 0.3 10024 3500 ? S 15:03 0:00 /usr/sbin/apache2 -k start www-data 3541 0.0 0.3 10024 3500 ? S 15:03 0:00 /usr/sbin/apache2 -k start www-data 3542 0.0 0.3 10024 3500 ? S 15:03 0:00 /usr/sbin/apache2 -k start www-data 3543 0.0 0.3 10024 3500 ? S 15:03 0:00 /usr/sbin/apache2 -k start www-data 3544 0.0 0.3 10024 3500 ? S 15:03 0:00 /usr/sbin/apache2 -k start



Dan Weber wrote:
On Thu, May 13, 2004 at 10:29:44AM +0200, Ilja Booij wrote:

I've just checked on a webserver:
the 'root' apache process also is in state LISTEN and runs as root. So I guess that's the way its' supposed to be. I presume Apache would be doing The Right Thing.

I've done some testing with moving drop_privileges to server.c,CreateSocket and the only thing I can come up with is that the daemon can not bind the right sockets on receiving a sighup due to lack of privileges.


Please don't setup any webservers for me.  Apache should not be
running as root, here are my apache processes.

www-data  3784  0.0  0.1 12576 1480 ?        S    Apr30   0:00
/usr/sbin/apache2 -k start -DSSL
www-data  3787  0.0  0.7 236688 6048 ?       S    Apr30   0:00
/usr/sbin/apache2 -k start -DSSL
www-data  3792  0.0  0.8 237164 6760 ?       S    Apr30   0:00
/usr/sbin/apache2 -k start -DSSL




------------------------------------------------------------------------

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

--
  ________________________________________________________________
  Paul Stevens                                         [EMAIL PROTECTED]
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands_______________________________________www.nfg.nl

Reply via email to