From b1a212eb509c1a8d84d91e5eb8f01f91a80700dc Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 6 Jun 2010 13:01:55 +0200 Subject: [PATCH] sudoers: nagios does not get to run dsa-check-backuppg with arbitrary command line arguments --- modules/sudo/files/common/sudoers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sudo/files/common/sudoers b/modules/sudo/files/common/sudoers index d0d05348..380c37ea 100644 --- a/modules/sudo/files/common/sudoers +++ b/modules/sudo/files/common/sudoers @@ -61,7 +61,7 @@ nagios MPTRAIDHOSTS=(ALL) NOPASSWD: /usr/sbin/mpt-status -s nagios AACRAIDHOSTS=(ALL) NOPASSWD: /usr/local/bin/arcconf GETCONFIG 1 LD, /usr/local/bin/arcconf GETCONFIG 1 AD nagios MEGARAIDHOSTS=(ALL) NOPASSWD: /usr/local/bin/megarc -AllAdpInfo -nolog, /usr/local/bin/megarc -dispCfg -a0 -nolog # other nagios things -nagios beethoven=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg +nagios beethoven=(debbackup) NOPASSWD: /usr/lib/nagios/plugins/dsa-check-backuppg "" # groups and their role accounts %buildd ALL=(buildd) ALL -- 2.39.2