# User privilege specification
root ALL=(ALL) ALL
-# Uncomment to allow members of group sudo to not need a password
-# (Note that later entries override this, so you might need to move
-# it further down)
-# %sudo ALL=NOPASSWD: ALL
-%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
-
-nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup ""
+
+# 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, /usr/sbin/upgrade-porter-chroots
+
+admin agnesi=(ALL) ALL
+%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
+# 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
+%debwww ALL=(debwww) ALL
+%forums ALL=(forums) ALL
+%keyring ALL=(keyring) 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
+%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
+%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
+
+# 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 raff=(root) /usr/local/bin/update-buildd-sshkeys