]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/sudo/files/per-host/liszt.debian.org/sudoers
Add sudoers files
[dsa-puppet.git] / modules / sudo / files / per-host / liszt.debian.org / sudoers
1 ##
2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
4 ##
5
6 # /etc/sudoers
7 #
8 # This file MUST be edited with the 'visudo' command as root.
9 #
10 # See the man page for details on how to write a sudoers file.
11 #
12
13 Defaults        env_reset
14
15 # Host alias specification
16
17 # User alias specification
18
19 # Cmnd alias specification
20
21 # User privilege specification
22 root    ALL=(ALL) ALL
23 %adm    ALL=(ALL) ALL
24 %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
25
26 # Listmaster stuff
27 %listweb  ALL=(listweb) NOPASSWD: ALL
28 %list  ALL=(list) NOPASSWD: ALL
29
30 %list  ALL=(root) NOPASSWD: /usr/sbin/postfix reload
31 %list  ALL=(root) NOPASSWD: /usr/sbin/qshape
32 %list  ALL=(root) /usr/sbin/postsuper
33 %list  ALL=(root) /etc/init.d/spamassassin restart
34 %list  ALL=(root) /etc/init.d/amavisd
35 %list  ALL=(root) /usr/local/sbin/amavisd-new
36 %list  ALL=(amavis) NOPASSWD: ALL
37
38 %apachectrl     ALL=(root) /usr/sbin/apache2-vhost-update
39
40 nagios  ALL=(ALL) NOPASSWD: /usr/bin/arrayprobe ""
41 nagios  ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup ""
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 nagios  ALL=(ALL) NOPASSWD: /usr/sbin/samhain -t check --foreground -p err -s none -l none -m none
48
49