X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsudo%2Ffiles%2Fcommon%2Fsudoers;h=91b3260ca9eca75076bf480d467054fa48dcdba6;hb=22663edfa4ee923bee4962a8688ec6a2af229669;hp=d2147e93789f09469a90c474e822c4acd7caab17;hpb=c908cee75fd92444a48f0a2cafbe260fd7285859;p=mirror%2Fdsa-puppet.git diff --git a/modules/sudo/files/common/sudoers b/modules/sudo/files/common/sudoers index d2147e937..91b3260ca 100644 --- a/modules/sudo/files/common/sudoers +++ b/modules/sudo/files/common/sudoers @@ -26,6 +26,8 @@ Host_Alias WEBHOSTS = klecker, wolkenstein Host_Alias SECHOSTS = klecker, chopin Host_Alias ZIVITHOSTS = zelenka, zandonai Host_Alias AACRAIDHOSTS = bellini, cimarosa, morricone, paganini, respighi, vivaldi, beethoven, pettersson +Host_Alias MEGARAIDHOSTS = grieg, rautavaara, sibelius +Host_Alias MPTRAIDHOSTS = master, fasch, holter, barber, biber, cilea, vitry, krenek, scelsi, orff, field # User alias specification User_Alias QACORE = aba, djpig, geissert, hertzog, jeroen, joerg, lucas, luk, myon, tbm, weasel, zack @@ -53,10 +55,11 @@ nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]\:[0-9] 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 # other raid controllers -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 MPTRAIDHOSTS=(ALL) NOPASSWD: /usr/sbin/mpt-status -s nagios AACRAIDHOSTS=(ALL) NOPASSWD: /usr/local/bin/arcconf GETCONFIG 1 LD, /usr/local/bin/arcconf GETCONFIG 1 AD +nagios MEGARAIDHOSTS=(ALL) NOPASSWD: /usr/local/bin/megarc -AllAdpInfo -nolog, /usr/local/bin/megarc -dispCfg -a0 -nolog # groups and their role accounts %buildd ALL=(buildd) ALL @@ -64,6 +67,7 @@ nagios AACRAIDHOSTS=(ALL) NOPASSWD: /usr/local/bin/arcconf GETCONFIG 1 LD, /usr %dde ALL=(dde) ALL %debadmin ALL=(dak) ALL %debbugs ALL=(debbugs) ALL +%debian-cd ALL=(debian-cd) ALL %debian-release ALL=(release) ALL %debwww ALL=(debwww) ALL %forums ALL=(forums) ALL @@ -107,13 +111,14 @@ pkg_user powell=(archvsync) NOPASSWD: /home/archvsync/bin/pushpdo # 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 -%wbadm cimarosa=(root) /usr/local/bin/update-buildd-sshkeys -wbadm cimarosa=(postgres) NOPASSWD: /usr/bin/pg_dumpall --cluster 8.4/wanna-build +%wbadm cimarosa,grieg=(root) /usr/local/bin/update-buildd-sshkeys +wbadm cimarosa,grieg=(postgres) NOPASSWD: /usr/bin/pg_dumpall --cluster 8.4/wanna-build # mirror push dak ries=(archvsync) NOPASSWD:/home/archvsync/runmirrors planet senfl=(archvsync) NOPASSWD: /home/archvsync/bin/runplanet "" # archvsync triggers snapshot archvsync stabile=(snapshot) NOPASSWD: /srv/snapshot.debian.org/bin/update-trigger +archvsync sibelius=(snapshot) NOPASSWD: /srv/2ndsnapshot/bin/update-trigger # dak stuff %debian-release ries=(dak) /usr/local/bin/dak transitions --import * %ftpteam ries=(dak) /usr/local/bin/dak transitions --import * @@ -133,3 +138,13 @@ debwww WEBHOSTS=(archvsync) NOPASSWD: /home/archvsync/webmirrors/runmirrors # 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 + +# Porter work +%porter-alpha albeniz=(root) NOPASSWD: /usr/sbin/upgrade-porter-chroots, /usr/bin/apt-in-chroot +%porter-armel agricola=(root) NOPASSWD: /usr/sbin/upgrade-porter-chroots, /usr/bin/apt-in-chroot +%porter-amd64 pergolesi=(root) NOPASSWD: /usr/sbin/upgrade-porter-chroots, /usr/bin/apt-in-chroot +%porter-hppa paer=(root) NOPASSWD: /usr/sbin/upgrade-porter-chroots, /usr/bin/apt-in-chroot +%porter-ia64 merulo=(root) NOPASSWD: /usr/sbin/upgrade-porter-chroots, /usr/bin/apt-in-chroot +%porter-ppc pescetti=(root) NOPASSWD: /usr/sbin/upgrade-porter-chroots, /usr/bin/apt-in-chroot +%porter-s390 zelenka=(root) NOPASSWD: /usr/sbin/upgrade-porter-chroots, /usr/bin/apt-in-chroot +%porter-sparc smetana,sperger,zee=(root) NOPASSWD: /usr/sbin/upgrade-porter-chroots, /usr/bin/apt-in-chroot