!!! ndc restart
patais at cwasia.net
Sun Nov 12 03:21:09 EST 2000
I need my staff to stop and restart DNS process via command ndc restart. I 've added ndc command in Cmd_Alias already. But after I do the test I got this messages in the /var/adm/messages.
Nov 9 16:32:26 dns1 named: ctl_server: bind: Permission denied
Nov 9 16:32:26 dns1 named: couldn't create pid file '/usr/local/etc/named.pid'
Nov 9 16:32:26 dns1 named: bind(dfd=20, [127.0.0.1].53): Permission denied
Give me the suggest how can I let the ordinary user can use sudo to use ndc restart for start , stop DNS.
Thanks in advance
More information about the sudo-users