X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsudo%2Ffiles%2Fcommon%2Fsudoers;h=21b657179eb54b6fcf03411ae72bed82e6607e4b;hb=09d8ff915202e32370bccfef2d1153b6ed46374e;hp=80152f7dd76681099782e7433985b8f6e1fb59d2;hpb=6223d29ea525ff1ef4626af124280d5f10fea746;p=mirror%2Fdsa-puppet.git diff --git a/modules/sudo/files/common/sudoers b/modules/sudo/files/common/sudoers index 80152f7dd..21b657179 100644 --- a/modules/sudo/files/common/sudoers +++ b/modules/sudo/files/common/sudoers @@ -21,6 +21,7 @@ Defaults env_reset # Host alias specification Host_Alias QAHOSTS = master, merkel +Host_Alias WEBHOSTS = klecker, wolkenstein # User alias specification User_Alias QACORE = aba, djpig, hertzog, jeroen, joerg, lucas, luk, myon, tbm, weasel, zack @@ -50,6 +51,7 @@ nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[02] show status nagios master=(ALL) NOPASSWD: /usr/sbin/mpt-status -s nagios powell=(ALL) NOPASSWD: /usr/local/sbin/areca-cli vsf info nagios puccini=(ALL) NOPASSWD: /usr/local/bin/tw_cli info c0 u0 status +nagios bellini,cimarosa=(ALL) NOPASSWD: /usr/local/bin/arcconf GETCONFIG 1 LD, /usr/local/bin/arcconf GETCONFIG 1 AD # groups and their role accounts %buildd ALL=(buildd) ALL @@ -74,6 +76,7 @@ nagios puccini=(ALL) NOPASSWD: /usr/local/bin/tw_cli info c0 u0 status %secretary ALL=(secretary) ALL %snapshot ALL=(snapshot) ALL %uddadm ALL=(udd) ALL +%volatile ALL=(volatile) ALL %wbadm ALL=(wbadm) ALL %wikiadm ALL=(wiki) ALL QACORE QAHOSTS=(qa) ALL @@ -92,6 +95,7 @@ piupartss piatti=(ALL) NOPASSWD: ALL pkg_user powell=(archvsync) NOPASSWD: /home/archvsync/bin/pushpdo # on draghi, the domains git thing will run bind9 reload afterwards %adm draghi=(root) NOPASSWD: /etc/init.d/bind9 reload +%adm draghi=(geodnssync) NOPASSWD: /usr/bin/make -C /srv/db.debian.org/dns # 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 @@ -107,10 +111,15 @@ dak ries=(archvsync) NOPASSWD:/home/archvsync/runmirrors %sec_data klecker=(archvsync) NOPASSWD: /home/archvsync/security/signal "" dak klecker=(archvsync) NOPASSWD: /home/archvsync/signal_security # web stuff -debwww klecker=(archvsync) NOPASSWD: /home/archvsync/webmirrors/runmirrors +debwww WEBHOSTS=(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 +# geodns may reload bind +geodnssync geo1,geo2,geo3=(root) NOPASSWD: /etc/init.d/bind9 reload +geodnssync geo1,geo2,geo3=(root) NOPASSWD: /usr/sbin/rndc reconfig +# archvsync triggers snapshot +archvsync stabile=(snapshot) NOPASSWD: /srv/snapshot.debian.org/bin/update-trigger