X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsudo%2Ffiles%2Fcommon%2Fsudoers;h=c46925ce2a0a4dba1ce2303e5bbb8c2338617758;hb=f111a8b0336e5e663c0101af0bfec5d3dcc192a7;hp=9601666a10dd6b518e6dc160c45f08090c99d6e1;hpb=bad5a7facd96e61fd60ee498e070235d2d95a9cc;p=mirror%2Fdsa-puppet.git diff --git a/modules/sudo/files/common/sudoers b/modules/sudo/files/common/sudoers index 9601666a1..c46925ce2 100644 --- a/modules/sudo/files/common/sudoers +++ b/modules/sudo/files/common/sudoers @@ -47,10 +47,17 @@ nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]I\:[0-9 nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 show status # groups and their role accounts +%buildd ALL=(buildd) ALL %debbugs ALL=(debbugs) ALL +%debwww ALL=(debwww) ALL +%lintian ALL=(lintian) ALL %mirroradm ALL=(archvsync) ALL %piuparts ALL=(piupartsm) ALL %piuparts ALL=(piupartss) ALL +%pkg_maint ALL=(pkg_user) ALL +%planet ALL=(planet) ALL +%popcon ALL=(popcon) ALL +%snapshot ALL=(snapshot) ALL %uddadm ALL=(udd) ALL %wikiadm ALL=(wiki) ALL @@ -58,8 +65,14 @@ nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 show status %apachectrl ALL=(root) /usr/sbin/apache2-vhost-update # buildd +# 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 -%buildd ALL=(buildd) ALL +buildd ALL=(ALL) NOPASSWD: ALL # The piuparts slave needs to handle chroots -piupartss piatti=(ALL) NOPASSWD: ALL +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