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 Host_Alias WEBHOSTS = klecker, wolkenstein
25 Host_Alias SECHOSTS = klecker, chopin
26 # User alias specification
27 User_Alias QACORE = aba, djpig, geissert, hertzog, jeroen, joerg, lucas, luk, myon, tbm, weasel, zack
29 # Cmnd alias specification
31 # User privilege specification
35 # DSA and local admins
37 %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
39 admin agnesi=(ALL) ALL
40 %zivit-admins zelenka=(ALL) NOPASSWD: ALL
43 nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup ""
44 # with smartarray controllers
45 nagios ALL=(ALL) NOPASSWD: /usr/bin/arrayprobe ""
46 nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller all show
47 nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[02] pd all show
48 nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]\:[0-9] show
49 nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]I\:[0-9]\:[0-9] show
50 nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[02] show status
51 # other raid controllers
52 nagios master=(ALL) NOPASSWD: /usr/sbin/mpt-status -s
53 nagios powell=(ALL) NOPASSWD: /usr/local/sbin/areca-cli vsf info
54 nagios puccini=(ALL) NOPASSWD: /usr/local/bin/tw_cli info c0 u0 status
55 nagios bellini,cimarosa,morricone,paganini,respighi,vivaldi=(ALL) NOPASSWD: /usr/local/bin/arcconf GETCONFIG 1 LD, /usr/local/bin/arcconf GETCONFIG 1 AD
57 # groups and their role accounts
58 %buildd ALL=(buildd) ALL
61 %debadmin ALL=(dak) ALL
62 %debbugs ALL=(debbugs) ALL
63 %debian-release ALL=(release) ALL
64 %debwww ALL=(debwww) ALL
65 %forums ALL=(forums) ALL
66 %keyring ALL=(keyring) ALL
67 %lintian ALL=(lintian) ALL
68 %listweb ALL=(listweb) ALL
69 %list liszt=(list) ALL
70 %mirroradm ALL=(archvsync) ALL
72 %patch-tracker ALL=(patch-tracker) ALL
73 %piuparts ALL=(piupartsm) ALL
74 %piuparts ALL=(piupartss) ALL
75 %pkg_maint ALL=(pkg_user) ALL
76 %planet ALL=(planet) ALL
77 %popcon ALL=(popcon) ALL
78 %secretary ALL=(secretary) ALL
79 %sectracker ALL=(sectracker) ALL
80 %snapshot ALL=(snapshot) ALL
82 %volatile ALL=(volatile) ALL
83 %wbadm ALL=(wbadm) ALL
84 %wikiadm ALL=(wiki) ALL
85 QACORE QAHOSTS=(qa) ALL
87 # some groups are in apachectrl on "their" hosts so they can reload apache and update their vhost
88 %apachectrl ALL=(root) /usr/sbin/apache2-vhost-update
91 # FIXME: change that ALL for hosts to a hostlist of buildds?
92 Defaults:buildd env_reset,env_keep+="APT_CONFIG DEBIAN_FRONTEND"
93 buildd ALL=(ALL) NOPASSWD: ALL
95 # The piuparts slave needs to handle chroots
96 piupartss piatti=(ALL) NOPASSWD: ALL
97 # trigger of mirror run for packages
98 pkg_user powell=(archvsync) NOPASSWD: /home/archvsync/bin/pushpdo
99 # on draghi, the domains git thing will run bind9 reload afterwards
100 %adm draghi=(root) NOPASSWD: /etc/init.d/bind9 reload
101 %adm draghi=(geodnssync) NOPASSWD: /usr/bin/make -C /srv/db.debian.org/dns
102 # remote power to babylon5 in the same rack:
103 joerg unger=(ALL) /usr/bin/sispmctl -t 1, /usr/bin/sispmctl -g 1
104 # wbadm can update all buildd* users' keys on buildd.d.o
105 %wbadm raff=(root) /usr/local/bin/update-buildd-sshkeys
106 %wbadm cimarosa=(root) /usr/local/bin/update-buildd-sshkeys
107 wbadm cimarosa=(postgres) NOPASSWD: /usr/bin/pg_dumpall --cluster 8.4/wanna-build
109 dak ries=(archvsync) NOPASSWD:/home/archvsync/runmirrors
110 planet senfl=(archvsync) NOPASSWD: /home/archvsync/bin/runplanet ""
111 # archvsync triggers snapshot
112 archvsync stabile=(snapshot) NOPASSWD: /srv/snapshot.debian.org/bin/update-trigger
114 %debian-release ries=(dak) /usr/local/bin/dak transitions --import *
115 %ftpteam ries=(dak) /usr/local/bin/dak transitions --import *
117 %security SECHOSTS=(dak) NOPASSWD: /usr/local/bin/dak new-security-install -[AR] -- *
118 %sec_public SECHOSTS=(dak) NOPASSWD: /usr/local/bin/dak new-security-install -[AR] -- *
119 %sec_data SECHOSTS=(archvsync) NOPASSWD: /home/archvsync/security/signal ""
120 dak SECHOSTS=(archvsync) NOPASSWD: /home/archvsync/signal_security
122 debwww WEBHOSTS=(archvsync) NOPASSWD: /home/archvsync/webmirrors/runmirrors
124 %list liszt=(root) /usr/sbin/postfix reload
125 %list liszt=(root) /usr/sbin/qshape, /usr/sbin/postsuper
126 %list liszt=(root) /etc/init.d/spamassassin, /etc/init.d/amavis
127 %list liszt=(amavis) NOPASSWD: /usr/bin/sa-learn
128 %list liszt=(amavis) ALL
129 # geodns may reload bind
130 geodnssync geo1,geo2,geo3=(root) NOPASSWD: /etc/init.d/bind9 reload
131 geodnssync geo1,geo2,geo3=(root) NOPASSWD: /usr/sbin/rndc reconfig