Allow sudo to runmirrors in the current location
authorBastian Blank <waldi@debian.org>
Thu, 30 Nov 2017 19:58:53 +0000 (20:58 +0100)
committerBastian Blank <waldi@debian.org>
Thu, 30 Nov 2017 19:58:53 +0000 (20:58 +0100)
modules/sudo/files/sudoers

index 0f2f959..74d52cb 100644 (file)
@@ -241,7 +241,7 @@ letsencrypt denis=(dnsadm)                  NOPASSWD: /srv/dns.debian.org/bin/update
 %wbadm         BUILDD_MASTER=(wb-buildd)       ALL
 %wbadm         BUILDD_MASTER=(root)            /usr/local/bin/update-buildd-sshkeys
 # mirror push
-dak            FTPHOSTS,SECHOSTS=(archvsync)   NOPASSWD:/home/archvsync/runmirrors
+dak            FTPHOSTS,SECHOSTS=(archvsync)   NOPASSWD:/home/archvsync/runmirrors, /home/archvsync/bin/runmirrors
 # archvsync triggers snapshot
 archvsync      sibelius=(snapshot)     NOPASSWD: /srv/snapshot.debian.org/bin/update-trigger
 archvsync      sibelius=(snapshot)     NOPASSWD: /srv/2ndsnapshot/bin/update-trigger