Linux.com

Re: Doesn't work on debian 3.1 (sarge)

Posted by: Anonymous [ip: 212.95.166.50] on February 15, 2008 09:49 AM
Hi all
apache2ctl is just a shell-script, here is it's first-line
#!/bin/sh
so if there is no shell with all dependent libraries within the chroot_jail
apache2ctl will not run correctly.
IMHO there is no place for shells in a chroot_jail if security is the main goal, and of course
if you do not need them desperately. So, if there is no shell within the chroot_jail an
appropriate solution is to edit apache2ctl to suit your needs(just adjust correct paths)
and leave it outside the jail.

#

Return to Chrooting Apache