BIND as non-root

Ralf Hildebrandt R.Hildebrandt at tu-bs.de
Thu May 4 07:54:23 UTC 2000


> 1. You have to make sure that the directory where bind's zone files are 
> located is writable by the user you are running bind as.

Only if BIND has to write the files! Master zones normally need only be
readable for that user!
 
> 2. You will have to change the location of bind's PID file to a place 
> where the user has write perms. or change the default directory's 
> (/var/run) perms..

Yup.
 
> 3. Make sure that /etc/named.conf is readable by the bind user. I have 
> mine owned by root and readable by bind's group.

chmod 644 /etc/named.conf
 
> That is pretty much it. Fairly simple.

And if you got this working you can start chrooting it :)



More information about the bind-users mailing list