From: Peter Palfrader Date: Wed, 31 Jul 2013 13:12:43 +0000 (+0200) Subject: sudo for pg check on backuphost X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=08a510c82ab118626d711f3c3e8a96c31caf4dfe;p=mirror%2Fdsa-puppet.git sudo for pg check on backuphost --- diff --git a/modules/sudo/files/sudoers b/modules/sudo/files/sudoers index 367e72252..019c383a7 100644 --- a/modules/sudo/files/sudoers +++ b/modules/sudo/files/sudoers @@ -69,7 +69,7 @@ nagios AACRAIDHOSTS=(ALL) NOPASSWD: /usr/local/bin/arcconf GETCONFIG 1 LD, /usr nagios MEGARAIDHOSTS=(ALL) NOPASSWD: /usr/local/bin/megarc -AllAdpInfo -nolog, /usr/local/bin/megarc -dispCfg -a0 -nolog nagios MEGACTLHOSTS=(ALL) NOPASSWD: /usr/sbin/megactl -Hv # other nagios things -nagios beethoven=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg "" +nagios beethoven,backuphost=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg "" # groups and their role accounts %auditor ALL=(accounting) ALL