From e09e5921776628f546c0bde17614a5e3aade8a0c Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sat, 3 Jul 2010 15:37:09 +0000 Subject: [PATCH] try to actually match what needs scanning Signed-off-by: Stephen Gran --- modules/sudo/files/common/sudoers | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/sudo/files/common/sudoers b/modules/sudo/files/common/sudoers index 8dfab6083..db200c669 100644 --- a/modules/sudo/files/common/sudoers +++ b/modules/sudo/files/common/sudoers @@ -51,10 +51,10 @@ nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-dabackup "" 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 -nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[01] pd [0-9]\:[0-9] show -nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[01] pd [0-9]I\:[0-9]\:[0-9] show -nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[02] show status +nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[012] pd all show +nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[012] pd [0-9]\:[0-9] show +nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[012] pd [0-9][EIC]\:[0-9]\:[0-9] show +nagios ALL=(ALL) NOPASSWD: /usr/sbin/hpacucli controller slot=[012] show status # other raid controllers nagios powell=(ALL) NOPASSWD: /usr/local/sbin/areca-cli vsf info nagios puccini=(ALL) NOPASSWD: /usr/local/bin/tw_cli info c0 u0 status -- 2.20.1