]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/sudo/files/common/sudoers
Tell the lazy DSA to use visudo or forever be damned
[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 # Uncomment to allow members of group sudo to not need a password
32 # (Note that later entries override this, so you might need to move
33 # it further down)
34 # %sudo ALL=NOPASSWD: ALL
35 %adm    ALL=(ALL) ALL
36 %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
37
38 nagios  ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup ""
39 nagios  ALL=(ALL) NOPASSWD: /usr/sbin/samhain -t check --foreground -p err -s none -l none -m none