X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fsudo%2Ffiles%2Fcommon%2Fsudoers;h=7fade9b2ca1dc4593f6a2acff892a8ccbca7eeef;hb=a6b9713fc8ebca81706801a496adabfe387f5ad2;hp=3636b17989cf730837bcaa3f792a6f7f31e30526;hpb=86250b5800fb2f86539252003d5a67b8c4843f00;p=mirror%2Fdsa-puppet.git diff --git a/modules/sudo/files/common/sudoers b/modules/sudo/files/common/sudoers index 3636b1798..7fade9b2c 100644 --- a/modules/sudo/files/common/sudoers +++ b/modules/sudo/files/common/sudoers @@ -31,10 +31,28 @@ root ALL=(ALL) ALL # DSA and local admins %adm ALL=(ALL) ALL -%adm ALL=(ALL) NOPASSWD: /usr/bin/apt-get update, /usr/bin/apt-get dist-upgrade, /usr/bin/apt-get clean, /usr/sbin/samhain -t check -i -p err -s none -l none -m none +%adm ALL=(ALL) NOPASSWD: /usr/bin/apt-get update, /usr/bin/apt-get dist-upgrade, /usr/bin/apt-get clean, /usr/sbin/samhain -t check -i -p err -s none -l none -m none, /usr/sbin/upgrade-porter-chroots + +%zivit-admins zelenka=(ALL) NOPASSWD: ALL # nagios 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=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 # groups and their role accounts %mirroradm ALL=(archvsync) ALL +%wikiadm ALL=(wiki) 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 + +# buildd +Defaults:buildd env_reset,env_keep+="APT_CONFIG DEBIAN_FRONTEND" +buildd ALL=(ALL) NOPASSWD: ALL +%buildd ALL=(buildd) ALL