Re: running services in their own little world
on Sat, Jul 24, 2004 at 11:43:39AM -0500, hanasaki (firstname.lastname@example.org) wrote:
> Steve Suehring wrote:
> >*All* services in /etc/init.d? Do you mean /etc/inetd.conf services?
> >Could you narrow down the services that you'd like to chroot? Some
> >services are fairly trivial to chroot while others are more involved and
> >require some thought before dumping into a chroot.
> >You might have a look at makejail to see if it provides any value for
> >On Fri, Jul 23, 2004 at 07:09:01PM -0500, hanasaki wrote:
> >>Any package in Debian that will automatically run all /etc/init.d based
> >>deamons in jail / chroot?
> The idea is to run bind, http and other servers in a jail. I am just
> getting started and know little about it, for now. I was hoping that
> there were Debian packages that already provided the jail(s) to run
> these services in.
Pleast post reply beneath quoted text and trim appropriatedly (you too,
As prior posts said: you have to think this through. Samba, for
example would need access to /home, for a typical setup. bind is
readily chrooted (and advisably so). Apache less readily. ntpd could
probably be jailed. It's the stuff that largely talks through sockets
and doesn't need extensive filesystem access that's going to be easiest
Look at your risk model. Look at the services you (need to) run. Look
at firewalling and other security measures.
Chroot isn't a be-all, end-all solution. It's useful. It's a tool. No
silver bullets here. Keep this in mind.
Karsten M. Self <email@example.com> http://linuxmafia.com/~karsten
Ceterum censeo, Caldera delenda est.