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:
88f2467
)
nagios needs to be able to run systemctl as root otherwise dbus is needed
author
Paul Wise
<pabs@debian.org>
Mon, 15 Dec 2014 22:46:45 +0000
(06:46 +0800)
committer
Paul Wise
<pabs@debian.org>
Mon, 15 Dec 2014 22:47:14 +0000
(06:47 +0800)
modules/sudo/files/sudoers
patch
|
blob
|
history
diff --git
a/modules/sudo/files/sudoers
b/modules/sudo/files/sudoers
index
9e9ac40
..
1407862
100644
(file)
--- a/
modules/sudo/files/sudoers
+++ b/
modules/sudo/files/sudoers
@@
-50,6
+50,7
@@
root ALL=(ALL) ALL
%zivit-admins ZIVITHOSTS=(ALL) NOPASSWD: ALL
# nagios
+nagios ALL=(ALL) NOPASSWD: /bin/systemctl is-system-running
nagios MQ_HOSTS=(rabbitmq) NOPASSWD: /usr/sbin/rabbitmqctl list_queues -p dsa name messages consumers
nagios ALL=(ALL) NOPASSWD: /usr/sbin/service ekeyd-egd-linux restart
nagios ALL=(ALL) NOPASSWD: /usr/sbin/service samhain restart