]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
allow nagios user to run hpasmcli
authorStephen Gran <steve@lobefin.net>
Tue, 1 Dec 2009 01:44:45 +0000 (01:44 +0000)
committerStephen Gran <steve@lobefin.net>
Tue, 1 Dec 2009 01:44:45 +0000 (01:44 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/sudo/files/common/sudoers

index e4a9ad2ba16b3bbcfa3192880bf139bc00b98f1e..ff19ed50e708ceaf4fe06b35ab795cf739495530 100644 (file)
@@ -42,6 +42,7 @@ admin         agnesi=(ALL)    ALL
 # nagios
 nagios         ALL=(ALL)       NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup ""
 # with smartarray controllers
+nagios         ALL=(ALL)       NOPASSWD: /sbin/hpasmcli ""
 nagios         ALL=(ALL)       NOPASSWD: /usr/bin/arrayprobe ""
 nagios         ALL=(ALL)       NOPASSWD: /usr/sbin/hpacucli controller all show
 nagios         ALL=(ALL)       NOPASSWD: /usr/sbin/hpacucli controller slot=[02] pd all show