[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: apache chroot
- To: <krejci_(_at_)_attbi_(_dot_)_com>, <misc_(_at_)_openbsd_(_dot_)_org>
- Subject: Re: apache chroot
- From: "Dom De Vitto" <dom_(_at_)_DeVitto_(_dot_)_com>
- Date: Sun, 22 Dec 2002 14:25:41 -0000
- Organization: Secure Technologies Ltd.
As well as what other have mentioned, you may find that
apachectl restart
doesn't quite work the same because the restart is already chrooted.
Any problems:
apachectl stop; sleep 1; apachectl start
may solve.
Dom
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Dom De Vitto Tel. 07855 805 271
http://www.devitto.com mailto:dom_(_at_)_devitto_(_dot_)_com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-----Original Message-----
From: owner-misc_(_at_)_openbsd_(_dot_)_org [mailto:owner-misc_(_at_)_openbsd_(_dot_)_org] On Behalf
Of Justin Krejci
Sent: Sunday, December 22, 2002 1:27 PM
To: misc_(_at_)_openbsd_(_dot_)_org
Subject: apache chroot
I am running openbsd 3.2 stable on i386.
When I add -u to httpd in /etc/rc.conf and restart apache I believe it
is
still chrooting apache. Here is a ps ax output after restarting apache
with
-u option in rc.conf.
17084 ?? Is 0:00.05 httpd: parent [chroot /var/www] (httpd)
7584 ?? I 0:00.04 httpd: child (httpd)
13506 ?? I 0:00.04 httpd: child (httpd)
15699 ?? I 0:00.03 httpd: child (httpd)
21585 ?? I 0:00.03 httpd: child (httpd)
32325 ?? I 0:00.04 httpd: child (httpd)
Is there something more I need to do to run apache without chroot?
Visit your host, monkey.org