sudoers: nagios does not get to run dsa-check-backuppg with arbitrary command line...
authorPeter Palfrader <peter@palfrader.org>
Sun, 6 Jun 2010 11:01:55 +0000 (13:01 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sun, 6 Jun 2010 11:01:55 +0000 (13:01 +0200)
modules/sudo/files/common/sudoers

index d0d0534..380c37e 100644 (file)
@@ -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