فهرست منبع

fixed sudo config for running the Bind update script

Roman Dmitriev 2 سال پیش
والد
کامیت
fbb7a92ebb
2فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 1 0
      docs/sudoers.d/apache
  2. 1 0
      docs/sudoers.d/www-data

+ 1 - 0
docs/sudoers.d/apache

@@ -1,5 +1,6 @@
 apache        ALL=(root)      NOPASSWD: /opt/Eye/scripts/sync_mikrotik.pl
 apache        ALL=(root)      NOPASSWD: /opt/Eye/scripts/update-dnsmasq
+apache        ALL=(root)      NOPASSWD: /opt/Eye/scripts/update-named
 apache        ALL=(root)      NOPASSWD: /opt/Eye/scripts/fetch_new_arp.pl
 apache        ALL=(root)      NOPASSWD: /opt/Eye/scripts/restart_nagios
 apache        ALL=(root)      NOPASSWD: /opt/Eye/scripts/dnsmasq-hook.sh

+ 1 - 0
docs/sudoers.d/www-data

@@ -1,5 +1,6 @@
 www-data        ALL=(root)      NOPASSWD: /opt/Eye/scripts/sync_mikrotik.pl
 www-data        ALL=(root)      NOPASSWD: /opt/Eye/scripts/update-dnsmasq
+www-data        ALL=(root)      NOPASSWD: /opt/Eye/scripts/update-named
 www-data        ALL=(root)      NOPASSWD: /opt/Eye/scripts/fetch_new_arp.pl
 www-data        ALL=(root)      NOPASSWD: /opt/Eye/scripts/restart_nagios
 www-data        ALL=(root)      NOPASSWD: /opt/Eye/scripts/dnsmasq-hook.sh