X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsudo%2Ffiles%2Fcommon%2Fsudoers;h=6e3a367cc086e2035d7bad0904d26e4b1084ab5e;hb=f99367c2818f6f6ce2334dae6bd310ec51bcc2ba;hp=1a30cd05a84f9d0f3844634ef88fe6a55960fa85;hpb=de6f625b59cf63f9d34f9f4be9a09159c558051c;p=mirror%2Fdsa-puppet.git diff --git a/modules/sudo/files/common/sudoers b/modules/sudo/files/common/sudoers index 1a30cd05a..6e3a367cc 100644 --- a/modules/sudo/files/common/sudoers +++ b/modules/sudo/files/common/sudoers @@ -42,7 +42,7 @@ nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup "" # with smartarray controllers nagios ALL=(ALL) NOPASSWD: /usr/bin/arrayprobe "" nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller all show -nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[02 pd all show +nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[02] pd all show nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]\:[0-9] show nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]I\:[0-9]\:[0-9] show nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[02] show status @@ -62,6 +62,8 @@ nagios puccini=(ALL) NOPASSWD: /usr/local/bin/tw_cli info c0 u0 status %forums ALL=(forums) ALL %keyring ALL=(keyring) ALL %lintian ALL=(lintian) ALL +%listweb ALL=(listweb) ALL +%list liszt=(list) ALL %mirroradm ALL=(archvsync) ALL %nm ALL=(nm) ALL %piuparts ALL=(piupartsm) ALL @@ -88,8 +90,8 @@ buildd ALL=(ALL) NOPASSWD: ALL piupartss piatti=(ALL) NOPASSWD: ALL # trigger of mirror run for packages pkg_user powell=(archvsync) NOPASSWD: /home/archvsync/bin/pushpdo -# on samosa, the domains git thing will run bind9 reload afterwards -%adm ALL=(root) NOPASSWD: /etc/init.d/bind9 reload +# on draghi, the domains git thing will run bind9 reload afterwards +%adm draghi=(root) NOPASSWD: /etc/init.d/bind9 reload # remote power to babylon5 in the same rack: joerg unger=(ALL) /usr/bin/sispmctl -t 1, /usr/bin/sispmctl -g 1 # wbadm can update all buildd* users' keys on buildd.d.o @@ -106,3 +108,9 @@ dak ries=(archvsync) NOPASSWD:/home/archvsync/runmirrors dak klecker=(archvsync) NOPASSWD: /home/archvsync/signal_security # web stuff debwww klecker=(archvsync) NOPASSWD: /home/archvsync/webmirrors/runmirrors +# more list stuff: +%list liszt=(root) /usr/sbin/postfix reload +%list liszt=(root) /usr/sbin/qshape, /usr/sbin/postsuper +%list liszt=(root) /etc/init.d/spamassassin, /etc/init.d/amavis +%list liszt=(amavis) NOPASSWD: /usr/bin/sa-learn +%list liszt=(amavis) ALL