local admin group on zelenka
[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 %zivit-admins   zelenka=(ALL)   NOPASSWD: ALL
37
38 # nagios
39 nagios          ALL=(ALL)       NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup ""
40 # with smartarray controllers
41 nagios          ALL=(ALL)       NOPASSWD: /usr/bin/arrayprobe ""
42 nagios          ALL=(ALL)       NOPASSWD: /usr/sbin/hpacucli controller all show
43 nagios          ALL=(ALL)       NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd all show
44 nagios          ALL=(ALL)       NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]\:[0-9] show
45 nagios          ALL=(ALL)       NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]I\:[0-9]\:[0-9] show
46 nagios          ALL=(ALL)       NOPASSWD: /usr/sbin/hpacucli controller slot=0 show status
47
48 # groups and their role accounts
49 %mirroradm      ALL=(archvsync) ALL
50 %wikiadm        ALL=(wiki)      ALL
51
52 # some groups are in apachectrl on "their" hosts so they can reload apache and update their vhost
53 %apachectrl     ALL=(root)      /usr/sbin/apache2-vhost-update
54
55 # buildd
56 Defaults:buildd env_reset,env_keep+="APT_CONFIG DEBIAN_FRONTEND"
57 buildd          ALL=(ALL)       NOPASSWD: ALL
58 %buildd         ALL=(buildd)    ALL