Procházet zdrojové kódy

fixed sudo config for running the Bind update script

Roman Dmitriev před 2 roky
rodič
revize
fbb7a92ebb
2 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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/sync_mikrotik.pl
 apache        ALL=(root)      NOPASSWD: /opt/Eye/scripts/update-dnsmasq
 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/fetch_new_arp.pl
 apache        ALL=(root)      NOPASSWD: /opt/Eye/scripts/restart_nagios
 apache        ALL=(root)      NOPASSWD: /opt/Eye/scripts/restart_nagios
 apache        ALL=(root)      NOPASSWD: /opt/Eye/scripts/dnsmasq-hook.sh
 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/sync_mikrotik.pl
 www-data        ALL=(root)      NOPASSWD: /opt/Eye/scripts/update-dnsmasq
 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/fetch_new_arp.pl
 www-data        ALL=(root)      NOPASSWD: /opt/Eye/scripts/restart_nagios
 www-data        ALL=(root)      NOPASSWD: /opt/Eye/scripts/restart_nagios
 www-data        ALL=(root)      NOPASSWD: /opt/Eye/scripts/dnsmasq-hook.sh
 www-data        ALL=(root)      NOPASSWD: /opt/Eye/scripts/dnsmasq-hook.sh