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