Re: How to emulate 'chroot /jail/ su httpd -c' ?

From: Tetsuo Handa
Date: Thu Feb 26 2004 - 08:26:00 EST


Patrick Michael Kane <modus@xxxxxxxx> wrote:
> Here's an easy way to do what you are trying to do:
>
> http://worldserver3.oleane.com/bouynot/gabuzomeu/alex/doc/apache/index-en.html
>
> Greetings from Hiro-o!
>
> * Tetsuo Handa (a5497108@xxxxxxxxxx) [040226 03:01]:
> > Hello,
> >
> > I have the following line in /etc/rc.d/init.d/httpd
> >
> > daemon chroot /jail/ su httpd -c $httpd $OPTIONS
> >

Thank you, Michael.
It's a nice article, but I'm using RedHat Linux 9.

It was very easy building chroot environment, for
I used a custom kernel that lists up files which are needed.
(I want to publish the patch, but I made it on business,
permission to publish is not given yet. I'm sorry.)

Only I can't do is 'chroot /jail/ su httpd -c' by one program.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/