]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/sudo/files/per-host/saens.debian.org/sudoers
Add sudoers files
[dsa-puppet.git] / modules / sudo / files / per-host / saens.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 # sudoers file.
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 # Host alias specification
14
15 # User alias specification
16
17 # Cmnd alias specification
18
19 # User privilege specification
20 root    ALL=(ALL) ALL
21
22 # Local Admins
23 sdier   ALL=ALL
24
25 # DSA
26 %adm    ALL=(ALL) ALL
27 %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
28
29 # allow the mirroradm group to mess with the sync scripts and stuff
30 # weasel, Tue, 13 Nov 2007 17:22:51 +0100, rt#180
31 %mirroradm ALL=(archvsync) ALL
32
33 nagios  ALL=(ALL) NOPASSWD: /usr/bin/arrayprobe ""
34 nagios  ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup ""
35 nagios  ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller all show
36 nagios  ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd all show
37 nagios  ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]\:[0-9] show
38 nagios  ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 pd [0-9]I\:[0-9]\:[0-9] show
39 nagios  ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=0 show status
40 nagios  ALL=(ALL) NOPASSWD: /usr/sbin/samhain -t check --foreground -p err -s none -l none -m none