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