unger, and Ganneff's sispm
[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 visud 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
24 # User alias specification
25
26 # Cmnd alias specification
27
28 # User privilege specification
29 root    ALL=(ALL) ALL
30
31
32 # DSA and local admins
33 %adm            ALL=(ALL)       ALL
34 %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
35
36 admin           agnesi=(ALL)    ALL
37 %zivit-admins   zelenka=(ALL)   NOPASSWD: ALL
38
39 # nagios
40 nagios          ALL=(ALL)       NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup ""
41 # with smartarray controllers
42 nagios          ALL=(ALL)       NOPASSWD: /usr/bin/arrayprobe ""
43 nagios          ALL=(ALL)       NOPASSWD: /usr/sbin/hpacucli controller all show
44 nagios          ALL=(ALL)       NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd all show
45 nagios          ALL=(ALL)       NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]\:[0-9] show
46 nagios          ALL=(ALL)       NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]I\:[0-9]\:[0-9] show
47 nagios          ALL=(ALL)       NOPASSWD: /usr/sbin/hpacucli controller slot=0 show status
48
49 # groups and their role accounts
50 %buildd         ALL=(buildd)    ALL
51 %debbugs        ALL=(debbugs)   ALL
52 %debwww         ALL=(debwww)    ALL
53 %lintian        ALL=(lintian)   ALL
54 %mirroradm      ALL=(archvsync) ALL
55 %piuparts       ALL=(piupartsm) ALL
56 %piuparts       ALL=(piupartss) ALL
57 %pkg_maint      ALL=(pkg_user)  ALL
58 %planet         ALL=(planet)    ALL
59 %popcon         ALL=(popcon)    ALL
60 %snapshot       ALL=(snapshot)  ALL
61 %uddadm         ALL=(udd)       ALL
62 %wikiadm        ALL=(wiki)      ALL
63
64 # some groups are in apachectrl on "their" hosts so they can reload apache and update their vhost
65 %apachectrl     ALL=(root)      /usr/sbin/apache2-vhost-update
66
67 # buildd
68 # FIXME: change that ALL for hosts to a hostlist of buildds?
69 Defaults:buildd env_reset,env_keep+="APT_CONFIG DEBIAN_FRONTEND"
70 buildd          ALL=(ALL)               NOPASSWD: ALL
71 # The piuparts slave needs to handle chroots
72 piupartss       piatti=(ALL)            NOPASSWD: ALL
73 # trigger of mirror run for packages
74 pkg_user        powell=(archvsync)      NOPASSWD: /home/archvsync/bin/pushpdo
75 # on samosa, the domains git thing will run bind9 reload afterwards
76 %adm            ALL=(root)              NOPASSWD: /etc/init.d/bind9 reload
77 # remote power to babylon5 in the same rack:
78 joerg           unger=(ALL)             /usr/bin/sispmctl -t 1, /usr/bin/sispmctl -g 1