chroot query

Mark_Andrews at isc.org Mark_Andrews at isc.org
Thu Oct 3 21:48:48 UTC 2002


> 
> On Thu, 03 Oct 2002 03:40:07 +0530, david doherty wrote:
> 
> 
> > Has anyone come across this before ? I am presuming that named is using
> > the password file in /etc and not the one in /jail.
> 
> I think you presume wrong. Once jailed, /jail (or whatever you use)
> becomes the root. Everything the bind binary needs, libraries it is
> linked to, libraries needed to lookup passwd/group entries are needed in
> the right place. Also needed are /etc/passwd, /etc/group,
> /etc/nsswitch.conf ...
> 
> Regards
> /kk
> 
	I suggest that you re-read the original description.  The comment
	refers to starting with "named -t /jail" and is correct.  The
	passwd and group files are read before the chroot takes effect.

	Mark
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list