Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2000 10:50:09 -0700 (PDT)
From:      dima@rdy.com (Dima Ruban)
To:        Frank Tobin <ftobin@uiuc.edu>
Cc:        FreeBSD-security Mailing List <freebsd-security@FreeBSD.ORG>
Subject:   Re: pid file for named
Message-ID:  <200005161750.KAA71328@sivka.rdy.com>
In-Reply-To: <Pine.BSF.4.21.0005160634430.21765-100000@srh0902.urh.uiuc.edu> from Frank Tobin at "May 16, 2000 06:48:05 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Frank Tobin writes:
> One often wishes to run daemons such as named under other users, e.g.,
> bind:bind.  In order to allow bind to write out zones and associated fun
> stuff correctly, one then does a
> 
> chmod -R bind:bind /etc/named
> 
> However, the pid file, /var/run/named.pid, which named tries to write out

You can set it in named.conf:

options {
	...
	pid-file "/etc/namedb/run/named.pid";
	...
};


However, this will break "ncd", since it's looking for /var/run/named.pid
instead of extracting current "pid-file" value from the named.conf.


-- dima


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




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