3 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
4 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
7 ###################################################################
8 ###################################################################
9 ###################################################################
11 ## PLEASE EDIT THIS FILE WITH THE visud COMMAND TO ENSURE IT
12 ## IS SYNTACTICALLY VALID.
14 ## /usr/sbin/visudo -f sudoers
16 ###################################################################
17 ###################################################################
18 ###################################################################
22 # Host alias specification
23 Host_Alias QAHOSTS = master, merkel
24 # User alias specification
25 User_Alias QACORE = aba, djpig, hertzog, jeroen, joerg, lucas, luk, myon, tbm, weasel, zack
27 # Cmnd alias specification
29 # User privilege specification
33 # DSA and local admins
35 %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
37 admin agnesi=(ALL) ALL
38 %zivit-admins zelenka=(ALL) NOPASSWD: ALL
41 nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup ""
42 # with smartarray controllers
43 nagios ALL=(ALL) NOPASSWD: /usr/bin/arrayprobe ""
44 nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller all show
45 nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd all show
46 nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]\:[0-9] show
47 nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]I\:[0-9]\:[0-9] show
48 nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 show status
49 # other raid controllers
50 nagios master=(ALL) NOPASSWD: /usr/sbin/mpt-status -s
51 nagios powell=(ALL) NOPASSWD: /usr/local/sbin/areca-cli vsf info
52 nagios puccini=(ALL) NOPASSWD: /usr/local/bin/tw_cli info c0 u0 status
54 # groups and their role accounts
55 %buildd ALL=(buildd) ALL
57 %debadmin ALL=(dak) ALL
58 %debbugs ALL=(debbugs) ALL
59 %debian-release ALL=(release) ALL
60 %debwww ALL=(debwww) ALL
61 %forums ALL=(forums) ALL
62 %keyring ALL=(keyring) ALL
63 %lintian ALL=(lintian) ALL
64 %mirroradm ALL=(archvsync) ALL
65 %piuparts ALL=(piupartsm) ALL
66 %piuparts ALL=(piupartss) ALL
67 %pkg_maint ALL=(pkg_user) ALL
68 %planet ALL=(planet) ALL
69 %popcon ALL=(popcon) ALL
70 %secretary ALL=(secretary) ALL
71 %snapshot ALL=(snapshot) ALL
73 %wbadm ALL=(wbadm) ALL
74 %wikiadm ALL=(wiki) ALL
75 QACORE QAHOSTS=(qa) ALL
77 # some groups are in apachectrl on "their" hosts so they can reload apache and update their vhost
78 %apachectrl ALL=(root) /usr/sbin/apache2-vhost-update
81 # FIXME: change that ALL for hosts to a hostlist of buildds?
82 Defaults:buildd env_reset,env_keep+="APT_CONFIG DEBIAN_FRONTEND"
83 buildd ALL=(ALL) NOPASSWD: ALL
85 # The piuparts slave needs to handle chroots
86 piupartss piatti=(ALL) NOPASSWD: ALL
87 # trigger of mirror run for packages
88 pkg_user powell=(archvsync) NOPASSWD: /home/archvsync/bin/pushpdo
89 # on samosa, the domains git thing will run bind9 reload afterwards
90 %adm ALL=(root) NOPASSWD: /etc/init.d/bind9 reload
91 # remote power to babylon5 in the same rack:
92 joerg unger=(ALL) /usr/bin/sispmctl -t 1, /usr/bin/sispmctl -g 1
93 # wbadm can update all buildd* users' keys on buildd.d.o
94 %wbadm raff=(root) /usr/local/bin/update-buildd-sshkeys
96 dak ries=(archvsync) NOPASSWD:/home/archvsync/runmirrors
98 %debian-release ries=(dak) /usr/local/bin/dak transitions --import *
99 %ftpteam ries=(dak) /usr/local/bin/dak transitions --import *