Bind named.pid trouble

Nicolai Langfeldt janl at linpro.no
Thu Aug 10 10:21:05 UTC 2000


"J.D. Bronson" <jeff at sparc-central.com> tastet:
> I want to run named -u nobody , but when I do - I get this:
> 
> unable to create named.pid permission denied /var/run/named.pid
> 
> Yet when I run named as root all is well....
> 
> I tried changing permissions on /var/run, but when the machine reboots it

/var/run is not a good directory to change permissions on.  It opens up
for all sorts of security problems, and so should probably only be writable
for root.

> sets them back to default.

In that case, put the pid file in some other directory to which nobody
can safely have write permission.  Perhaps /var/named/run ?  Se the
pid-file option in your named.conf man page.

Nicolai





More information about the bind-users mailing list