Messages in this thread | | | From | (Måns Rullgård) | Subject | Re: How to emulate 'chroot /jail/ su httpd -c' ? | Date | Thu, 26 Feb 2004 14:34:45 +0100 |
| |
Tetsuo Handa <a5497108@anet.ne.jp> writes:
> Hello, > > Sorry for querying userland program in this list. > > I have the following line in /etc/rc.d/init.d/httpd > > daemon chroot /jail/ su httpd -c $httpd $OPTIONS > > This needs /bin/su after /usr/sbin/chroot, but I don't > want to place /bin/su (and related files) in the jail. > So, I want to do this with one program.
If you remove the suid bit from the su program in the chroot it should be rather harmless.
-- Måns Rullgård mru@kth.se
- 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/
| |