From owner-freebsd-questions Tue Feb 1 7:51:38 2000 Delivered-To: freebsd-questions@freebsd.org Received: from unix.megared.net.mx (megamail.megared.com.mx [207.249.162.252]) by builder.freebsd.org (Postfix) with ESMTP id C751D3DFC for ; Tue, 1 Feb 2000 07:51:29 -0800 (PST) Received: from ales (ales.megared.net.mx [207.249.163.251]) by unix.megared.net.mx (8.9.3/8.9.3) with SMTP id JAA38637; Tue, 1 Feb 2000 09:49:32 -0600 (CST) (envelope-from ales@megared.net.mx) Message-ID: <022301bf6ccc$255c5700$020a0a0a@megared.net.mx> From: "Alejandro Ramirez" To: "Gene Harris" , References: Subject: RE: chroot option for named Date: Tue, 1 Feb 2000 09:51:04 -0600 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 To: 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