whitespace
[mirror/dsa-puppet.git] / modules / sudo / files / common / sudoers
index 03811f9..3636b17 100644 (file)
@@ -28,11 +28,13 @@ Defaults    env_reset
 # User privilege specification
 root   ALL=(ALL) ALL
 
-# Uncomment to allow members of group sudo to not need a password
-# (Note that later entries override this, so you might need to move
-# it further down)
-# %sudo ALL=NOPASSWD: ALL
-%adm    ALL=(ALL) ALL
-%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
-
-nagios  ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup ""
+
+# DSA and local admins
+%adm           ALL=(ALL)       ALL
+%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
+
+# nagios
+nagios         ALL=(ALL)       NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup ""
+
+# groups and their role accounts
+%mirroradm     ALL=(archvsync) ALL