]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/sudo/files/common/sudoers
new group: pkg_maint, and on powell that needs to trigger archvsync
[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 %debbugs        ALL=(debbugs)   ALL
51 %mirroradm      ALL=(archvsync) ALL
52 %piuparts       ALL=(piupartsm) ALL
53 %piuparts       ALL=(piupartss) ALL
54 %pkg_maint      ALL=(pkg_user)  ALL
55 %uddadm         ALL=(udd)       ALL
56 %wikiadm        ALL=(wiki)      ALL
57
58 # some groups are in apachectrl on "their" hosts so they can reload apache and update their vhost
59 %apachectrl     ALL=(root)      /usr/sbin/apache2-vhost-update
60
61 # buildd
62 Defaults:buildd env_reset,env_keep+="APT_CONFIG DEBIAN_FRONTEND"
63 buildd          ALL=(ALL)       NOPASSWD: ALL
64 %buildd         ALL=(buildd)    ALL
65 # The piuparts slave needs to handle chroots
66 piupartss       piatti=(ALL)    NOPASSWD: ALL
67 # trigger of mirror run for packages
68 pkg_user        powell=(archvsync) NOPASSWD: /home/archvsync/bin/pushpdo