problems running bind as user other than root

Duane Cox dcox at coxnetwork.com
Tue Feb 29 04:55:30 UTC 2000


I have read Crickets book (chapter 10) on the use of users other than root to run the bind daemon.  I have bind running fine as user named group named (no chroot jail yet).  I can reload and restart the server as named, but the problem I have is executing the /etc/rc.d/init.d/named restart script as user named.  The daemon restarts, but errors out on parts of the script "touch /var/lock/subsys/named"  I am not  a Linux expert, and would appretiate some advice here, do I have to change the permissions on /var/lock/subsys/named (but it is zero in size),  what is that file for anyway?  

start)
        # Start daemons.
        echo -n "Starting named: "
        daemon named
        RETVAL=$?
        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/named
        echo

Duane Cox
dcox at coxnetwork.com





More information about the bind-users mailing list