Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Feb 2000 09:51:04 -0600
From:      "Alejandro Ramirez" <ales@megared.net.mx>
To:        "Gene Harris" <zeus@tetronsoftware.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: chroot option for named
Message-ID:  <022301bf6ccc$255c5700$020a0a0a@megared.net.mx>
References:  <Pine.BSF.4.10.10002010852420.2774-100000@tetron02.tetronsoftware.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

    Try the "-b"  flag to tell bind where to look for the config file,
something like this:

unix# named -b /tmp/named/named.conf -u testuser -g testgrp -t /tmp/named

Good Luck...
Ales

----- Original Message -----
From: Gene Harris <zeus@tetronsoftware.com>
To: <freebsd-questions@FreeBSD.ORG>
Sent: Tuesday, February 01, 2000 9:00 AM
Subject: chroot option for named


> I have been playing around with the -t option for named.
> I created a testuser and testgrp along with a directory
> /tmp/named to try out the options.  I used the command line
> named -u testuser -g testgrp -t /tmp/named.
>
> When I start named this way, I get an error message that
> named cannot find named.conf.  The only way I was able to
> get the program to operate correctly was to create
> /tmp/named/etc/namedb directory and then move named.conf
> from the normal etc directory.
>
> Is this the correct behavior?  Or did I make a typical
> newbie mistake?  :-)
>
> *==============================================*
> *Gene Harris      http://www.tetronsoftware.com*
> *FreeBSD Novice                                *
> *==============================================*
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?022301bf6ccc$255c5700$020a0a0a>