From: Stephen Gran Date: Tue, 1 Dec 2009 01:44:45 +0000 (+0000) Subject: allow nagios user to run hpasmcli X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2ec7218ab217b2cc3c6b455aa6116a200c5b25af;p=dsa-puppet.git allow nagios user to run hpasmcli Signed-off-by: Stephen Gran --- diff --git a/modules/sudo/files/common/sudoers b/modules/sudo/files/common/sudoers index e4a9ad2b..ff19ed50 100644 --- a/modules/sudo/files/common/sudoers +++ b/modules/sudo/files/common/sudoers @@ -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