X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsudo%2Ffiles%2Fcommon%2Fsudoers;h=a404c23ad30b2fa4cd7b2a744f70eef24659bf2a;hb=06b58837a172c84036e6897267f3f96c0923741b;hp=8591a213bb20157ae48dc01cf13f71d2d8b91e8f;hpb=5e26c7c9f510c9d0643ba160b0135070d992e211;p=mirror%2Fdsa-puppet.git diff --git a/modules/sudo/files/common/sudoers b/modules/sudo/files/common/sudoers index 8591a213b..a404c23ad 100644 --- a/modules/sudo/files/common/sudoers +++ b/modules/sudo/files/common/sudoers @@ -45,11 +45,19 @@ nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 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=0 show status +# other raid controllers +nagios powell=(ALL) NOPASSWD: /usr/local/sbin/areca-cli vsf info +nagios puccini=(ALL) NOPASSWD: /usr/local/bin/tw_cli info c0 u0 status # groups and their role accounts %buildd ALL=(buildd) ALL +%d-i ALL=(d-i) ALL +%debadmin ALL=(dak) ALL %debbugs ALL=(debbugs) ALL +%debian-release ALL=(release) ALL %debwww ALL=(debwww) ALL +%forums ALL=(forums) ALL +%keyring ALL=(keyring) ALL %lintian ALL=(lintian) ALL %mirroradm ALL=(archvsync) ALL %piuparts ALL=(piupartsm) ALL @@ -59,6 +67,7 @@ nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 show status %popcon ALL=(popcon) ALL %snapshot ALL=(snapshot) ALL %uddadm ALL=(udd) ALL +%wbadm ALL=(wbadm) ALL %wikiadm ALL=(wiki) ALL # some groups are in apachectrl on "their" hosts so they can reload apache and update their vhost @@ -68,9 +77,19 @@ nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 show status # FIXME: change that ALL for hosts to a hostlist of buildds? Defaults:buildd env_reset,env_keep+="APT_CONFIG DEBIAN_FRONTEND" buildd ALL=(ALL) NOPASSWD: ALL + # The piuparts slave needs to handle chroots 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 +# 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 raff=(root) /usr/local/bin/update-buildd-sshkeys +# mirror push +dak ries=(archvsync) NOPASSWD:/home/archvsync/runmirrors +# dak stuff +%debian-release ries=(dak) /usr/local/bin/dak transitions --import * +%ftpteam ries=(dak) /usr/local/bin/dak transitions --import *