fix typo
[mirror/dsa-puppet.git] / modules / sudo / files / common / sudoers
1 # /etc/sudoers
2 ##
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
5 ##
6
7 ###################################################################
8 ###################################################################
9 ###################################################################
10 ##
11 ## PLEASE EDIT THIS FILE WITH THE visudo COMMAND TO ENSURE IT
12 ## IS SYNTACTICALLY VALID.
13 ##
14 ##  /usr/sbin/visudo -f sudoers
15 ##
16 ###################################################################
17 ###################################################################
18 ###################################################################
19
20 Defaults        env_reset
21
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
26
27 # Cmnd alias specification
28
29 # User privilege specification
30 root    ALL=(ALL) ALL
31
32
33 # DSA and local admins
34 %adm            ALL=(ALL)       ALL
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
36
37 admin           agnesi=(ALL)    ALL
38 %zivit-admins   zelenka=(ALL)   NOPASSWD: ALL
39
40 # nagios
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
54 # groups and their role accounts
55 %buildd         ALL=(buildd)    ALL
56 %d-i            ALL=(d-i)       ALL
57 %dde            ALL=(dde)       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 %mirroradm      ALL=(archvsync) ALL
66 %nm             ALL=(nm)        ALL
67 %piuparts       ALL=(piupartsm) ALL
68 %piuparts       ALL=(piupartss) ALL
69 %pkg_maint      ALL=(pkg_user)  ALL
70 %planet         ALL=(planet)    ALL
71 %popcon         ALL=(popcon)    ALL
72 %secretary      ALL=(secretary) ALL
73 %snapshot       ALL=(snapshot)  ALL
74 %uddadm         ALL=(udd)       ALL
75 %wbadm          ALL=(wbadm)     ALL
76 %wikiadm        ALL=(wiki)      ALL
77 QACORE          QAHOSTS=(qa)    ALL
78
79 # some groups are in apachectrl on "their" hosts so they can reload apache and update their vhost
80 %apachectrl     ALL=(root)      /usr/sbin/apache2-vhost-update
81
82 # buildd
83 # FIXME: change that ALL for hosts to a hostlist of buildds?
84 Defaults:buildd env_reset,env_keep+="APT_CONFIG DEBIAN_FRONTEND"
85 buildd          ALL=(ALL)               NOPASSWD: ALL
86
87 # The piuparts slave needs to handle chroots
88 piupartss       piatti=(ALL)            NOPASSWD: ALL
89 # trigger of mirror run for packages
90 pkg_user        powell=(archvsync)      NOPASSWD: /home/archvsync/bin/pushpdo
91 # on samosa, the domains git thing will run bind9 reload afterwards
92 %adm            samosa=(root)           NOPASSWD: /etc/init.d/bind9 reload
93 # remote power to babylon5 in the same rack:
94 joerg           unger=(ALL)             /usr/bin/sispmctl -t 1, /usr/bin/sispmctl -g 1
95 # wbadm can update all buildd* users' keys on buildd.d.o
96 %wbadm          raff=(root)             /usr/local/bin/update-buildd-sshkeys
97 # mirror push
98 dak             ries=(archvsync)        NOPASSWD:/home/archvsync/runmirrors
99 # dak stuff
100 %debian-release ries=(dak)              /usr/local/bin/dak transitions --import *
101 %ftpteam        ries=(dak)              /usr/local/bin/dak transitions --import *
102 # security
103 %security       klecker=(dak)           NOPASSWD: /usr/local/bin/dak new-security-install -[AR] -- *
104 %sec_public     klecker=(dak)           NOPASSWD: /usr/local/bin/dak new-security-install -[AR] -- *
105 %sec_data       klecker=(archvsync)     NOPASSWD: /home/archvsync/security/signal ""
106 dak             klecker=(archvsync)     NOPASSWD: /home/archvsync/signal_security
107 # web stuff
108 debwww          klecker=(archvsync)     NOPASSWD: /home/archvsync/webmirrors/runmirrors