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 visudo 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=[02] 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=[02] 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
58 %debadmin ALL=(dak) ALL
59 %debbugs ALL=(debbugs) ALL
60 %debian-release ALL=(release) ALL
61 %debwww ALL=(debwww) ALL
62 %forums ALL=(forums) ALL
63 %keyring ALL=(keyring) ALL
64 %lintian ALL=(lintian) ALL
65 %listweb ALL=(listweb) ALL
66 %list liszt=(list) ALL
67 %mirroradm ALL=(archvsync) ALL
69 %piuparts ALL=(piupartsm) ALL
70 %piuparts ALL=(piupartss) ALL
71 %pkg_maint ALL=(pkg_user) ALL
72 %planet ALL=(planet) ALL
73 %popcon ALL=(popcon) ALL
74 %secretary ALL=(secretary) ALL
75 %snapshot ALL=(snapshot) ALL
77 %wbadm ALL=(wbadm) ALL
78 %wikiadm ALL=(wiki) ALL
79 QACORE QAHOSTS=(qa) ALL
81 # some groups are in apachectrl on "their" hosts so they can reload apache and update their vhost
82 %apachectrl ALL=(root) /usr/sbin/apache2-vhost-update
85 # FIXME: change that ALL for hosts to a hostlist of buildds?
86 Defaults:buildd env_reset,env_keep+="APT_CONFIG DEBIAN_FRONTEND"
87 buildd ALL=(ALL) NOPASSWD: ALL
89 # The piuparts slave needs to handle chroots
90 piupartss piatti=(ALL) NOPASSWD: ALL
91 # trigger of mirror run for packages
92 pkg_user powell=(archvsync) NOPASSWD: /home/archvsync/bin/pushpdo
93 # on draghi, the domains git thing will run bind9 reload afterwards
94 %adm draghi=(root) NOPASSWD: /etc/init.d/bind9 reload
95 %adm draghi=(geodnssync) NOPASSWD: /usr/bin/make -C /srv/db.debian.org/dns
96 # remote power to babylon5 in the same rack:
97 joerg unger=(ALL) /usr/bin/sispmctl -t 1, /usr/bin/sispmctl -g 1
98 # wbadm can update all buildd* users' keys on buildd.d.o
99 %wbadm raff=(root) /usr/local/bin/update-buildd-sshkeys
101 dak ries=(archvsync) NOPASSWD:/home/archvsync/runmirrors
103 %debian-release ries=(dak) /usr/local/bin/dak transitions --import *
104 %ftpteam ries=(dak) /usr/local/bin/dak transitions --import *
106 %security klecker=(dak) NOPASSWD: /usr/local/bin/dak new-security-install -[AR] -- *
107 %sec_public klecker=(dak) NOPASSWD: /usr/local/bin/dak new-security-install -[AR] -- *
108 %sec_data klecker=(archvsync) NOPASSWD: /home/archvsync/security/signal ""
109 dak klecker=(archvsync) NOPASSWD: /home/archvsync/signal_security
111 debwww klecker=(archvsync) NOPASSWD: /home/archvsync/webmirrors/runmirrors
113 %list liszt=(root) /usr/sbin/postfix reload
114 %list liszt=(root) /usr/sbin/qshape, /usr/sbin/postsuper
115 %list liszt=(root) /etc/init.d/spamassassin, /etc/init.d/amavis
116 %list liszt=(amavis) NOPASSWD: /usr/bin/sa-learn
117 %list liszt=(amavis) ALL
118 # geodns may reload bind
119 geodnssync geo1,geo2,geo3=(root) NOPASSWD: /etc/init.d/bind9 reload
120 geodnssync geo1,geo2,geo3=(root) NOPASSWD: /usr/sbin/rndc reconfig