From 2ec7218ab217b2cc3c6b455aa6116a200c5b25af Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Tue, 1 Dec 2009 01:44:45 +0000 Subject: [PATCH] allow nagios user to run hpasmcli Signed-off-by: Stephen Gran --- modules/sudo/files/common/sudoers | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/sudo/files/common/sudoers b/modules/sudo/files/common/sudoers index e4a9ad2ba..ff19ed50e 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 -- 2.20.1