Messages in this thread | | | Subject | Re: How to emulate 'chroot /jail/ su httpd -c' ? | From | Tetsuo Handa <> | Date | Thu, 26 Feb 2004 22:23:54 +0900 |
| |
Patrick Michael Kane <modus@pr.es.to> 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@anet.ne.jp) [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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |