X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsudo%2Ffiles%2Fcommon%2Fsudoers;h=7f874723cd11f4a66f165f630f8b460ecf13689d;hb=064b1033053ba647ceba2ad800bbdbb62b540cf4;hp=260d2c8fbbc27ca7f5e3654371295e21302886ac;hpb=1e2215e901a25f879a2e6f23e3d5035fd0cf3423;p=mirror%2Fdsa-puppet.git diff --git a/modules/sudo/files/common/sudoers b/modules/sudo/files/common/sudoers index 260d2c8fb..7f874723c 100644 --- a/modules/sudo/files/common/sudoers +++ b/modules/sudo/files/common/sudoers @@ -29,6 +29,7 @@ Host_Alias ZIVITHOSTS = zelenka, zandonai Host_Alias AACRAIDHOSTS = bellini, 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 +Host_Alias MEGACTLHOSTS = lindberg, englund, heininen # Cmnd alias specification @@ -44,6 +45,7 @@ admin agnesi=(ALL) ALL %zivit-admins ZIVITHOSTS=(ALL) NOPASSWD: ALL # nagios +nagios ALL=(ALL) NOPASSWD: /etc/init.d/ekeyd-egd-linux restart nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup "" # with smartarray controllers nagios ALL=(ALL) NOPASSWD: /sbin/hpasmcli "" @@ -63,16 +65,22 @@ 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 +nagios MEGACTLHOSTS=(ALL) NOPASSWD: /usr/sbin/megactl -Hv # other nagios things nagios beethoven=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg "" # groups and their role accounts +%auditor ALL=(accounting) ALL +%backports ALL=(backports) ALL %buildd ALL=(buildd) ALL %d-i ALL=(d-i) ALL %dde ALL=(dde) ALL +%ddtp ALL=(ddtp) ALL %debadmin ALL=(dak) ALL %debbugs ALL=(debbugs) ALL +%debbugs ALL=(debbugs-mirror) ALL %debian-cd ALL=(debian-cd) ALL +%debian-i18n ALL=(debian-i18n) ALL %debian-release ALL=(release) ALL %debvoip cilea=(freeswitch) ALL %debwww ALL=(debwww) ALL @@ -90,6 +98,7 @@ nagios beethoven=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backup %pkg_maint ALL=(pkg_user) ALL %planet ALL=(planet) ALL %popcon ALL=(popcon) ALL +%search ALL=(search) ALL %secretary ALL=(secretary) ALL %sectracker ALL=(sectracker) ALL %security SECHOSTS=(mail_security) ALL @@ -97,9 +106,13 @@ nagios beethoven=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backup %uddadm ALL=(udd) ALL %volatile ALL=(volatile) ALL %wbadm ALL=(wbadm) ALL +%mujeres ALL=(women) ALL %wikiadm ALL=(wiki) ALL %qa-core QAHOSTS=(qa) ALL +# the dak user gets to run stuff as dak-unpriv (for things like lintian checks) +dak ALL=(dak-unpriv) NOPASSWD: ALL + # some groups are in apachectrl on "their" hosts so they can reload apache and update their vhost %apachectrl ALL=(root) /usr/sbin/apache2-vhost-update @@ -115,6 +128,7 @@ pkg_user powell=(archvsync) NOPASSWD: /home/archvsync/bin/pushpdo # on draghi, the domains git thing will run bind9 reload afterwards %dnsadm draghi,orff=(root) NOPASSWD: /etc/init.d/bind9 reload %dnsadm draghi,orff=(geodnssync) NOPASSWD: /usr/bin/make -C /srv/dns.debian.org/geo +%adm draghi=(puppet) NOPASSWD: /usr/bin/make -s -C /srv/db.debian.org/var/gitnagios/dsa-nagios/config install # remote power to babylon5 in the same rack: joerg unger=(ALL) /usr/bin/sispmctl -t [12], /usr/bin/sispmctl -g [12] # wbadm can update all buildd* users' keys on buildd.d.o