Re: runnind bind as non-root
Alexey Chetroi <debian@twilight.telco.md> writes:
> Dear List,
>
> I;m trying to setup bind9 on my woody box to run as non-root.
> The problem I have is that non-root named cannot write to /var/run/named.pid
> One solution I see is to make /var/run group writeable or to recompile named
> to use pid=/var/run/named/named.pid.
>
> How other debian users circumvent this problem?
Run bind9 in a chroot. I basically used the configuration from this
page:
http://cryptio.net/~ferlatte/config/
with the exception of using
mount --bind /var/lib/bind9/etc/bind /etc/bind
instead of
ln -s /var/lib/bind9/etc/bind /etc/bind
--
People said I was dumb, but I proved them!
Reply to: