Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2008 15:05:09 -0500
From:      "Rance Hall" <ranceh@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: inetd and freebsd service jail
Message-ID:  <845c0f80803271305k40141ef3u19056afb4e244da0@mail.gmail.com>
In-Reply-To: <BLU118-W91CABC84FB9304A5C2308D0FE0@phx.gbl>
References:  <BLU118-W91CABC84FB9304A5C2308D0FE0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/27/08, Ruben Lara <bermejator@hotmail.com> wrote:
>
>  Hello everyone!
>
>  Is it possible that inetd launch services inside service jails?
>
>  Let me explain, I have a jail for pureftpd service, it is possible that inetd from the main system launch FTP server inside the jail?
>  If not so, i don't uderstand advantage of to have an inetd service listening inside each jail...
>
>  Thank you
>  Ruben Lara
>

No, this is not possible, but it is possible to run the pureftp
service inside a chroot so that it only has access to the files you
provide copies of in the chroot.

This is the way to secure individual services that are part of a main
box,  a jail is a way to run a whole second server inside the first
one.

There are advantages to both approaches, but sometimes one is better
than the other.

give chroot a try, and inetd can launch the command line to start
pureftpd in a chroot no problem.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?845c0f80803271305k40141ef3u19056afb4e244da0>