projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aff9a9
)
allow nagios user to run hpasmcli
author
Stephen Gran
<steve@lobefin.net>
Tue, 1 Dec 2009 01:44:45 +0000
(
01:44
+0000)
committer
Stephen 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
patch
|
blob
|
history
diff --git
a/modules/sudo/files/common/sudoers
b/modules/sudo/files/common/sudoers
index
e4a9ad2
..
ff19ed5
100644
(file)
--- 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