allow simple rndc reload in sudoers

This commit is contained in:
Antoine Beaupré 2009-08-06 18:06:39 +00:00
parent 26a84f118f
commit d31d1700d5
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ EOF
alternc ALL=NOPASSWD: /usr/sbin/invoke-rc.d apache reload alternc ALL=NOPASSWD: /usr/sbin/invoke-rc.d apache reload
alternc ALL=NOPASSWD: /usr/sbin/invoke-rc.d apache2 reload alternc ALL=NOPASSWD: /usr/sbin/invoke-rc.d apache2 reload
alternc ALL=NOPASSWD: /usr/sbin/rndc reload * alternc ALL=NOPASSWD: /usr/sbin/rndc reload *
alternc ALL=NOPASSWD: /usr/sbin/rndc reload
## ALTERNC END ## ALTERNC END
EOF EOF
mv /etc/sudoers.tmp /etc/sudoers mv /etc/sudoers.tmp /etc/sudoers