SPECS: nagios-plugin-check_multipath.spec - disable sudo logging n...

glen glen at pld-linux.org
Tue Apr 8 20:39:46 CEST 2008


Author: glen                         Date: Tue Apr  8 18:39:45 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- disable sudo logging noise (fixed commands anyway)

---- Files affected:
SPECS:
   nagios-plugin-check_multipath.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/nagios-plugin-check_multipath.spec
diff -u SPECS/nagios-plugin-check_multipath.spec:1.6 SPECS/nagios-plugin-check_multipath.spec:1.7
--- SPECS/nagios-plugin-check_multipath.spec:1.6	Wed Apr  2 21:47:21 2008
+++ SPECS/nagios-plugin-check_multipath.spec	Tue Apr  8 20:39:40 2008
@@ -4,7 +4,7 @@
 Summary(pl.UTF-8):	Wtyczka Nagiosa do sprawdzania stanu urządzeń multipath device mappera
 Name:		nagios-plugin-%{plugin}
 Version:	1.0
-Release:	0.6
+Release:	1
 License:	GPL v2
 Group:		Networking
 Source0:	%{name}.sh
@@ -54,8 +54,10 @@
 %post
 if ! grep -q '^Cmnd_Alias MULTIPATH' /etc/sudoers; then
 	cat >> /etc/sudoers <<-'EOF'
-		Cmnd_Alias MULTIPATH=/sbin/multipath -l
-		nagios  ALL= NOPASSWD: MULTIPATH
+		User_Alias MULTIPATH=nagios
+		Cmnd_Alias MULTIPATH=/sbin/multipath -l,/sbin/lsmod
+		Defaults:MULTIPATH !syslog
+		MULTIPATH ALL=(root) NOPASSWD: MULTIPATH
 	EOF
 fi
 
@@ -75,6 +77,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2008-04-08 18:39:40  glen
+- disable sudo logging noise (fixed commands anyway)
+
 Revision 1.6  2008-04-02 19:47:21  glen
 - nagio sexchange site has changed, new url
 - R: multipath-tools
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/nagios-plugin-check_multipath.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list