From c22b89893d15e9b60141ea16c68d36734029e934 Mon Sep 17 00:00:00 2001 From: Tomas Edwardsson Date: Thu, 15 May 2014 11:24:48 +0000 Subject: [PATCH] hpacucli Bad permissions on sudoers file --- check_hpacucli/nagios-okplugin-check_hpacucli.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_hpacucli/nagios-okplugin-check_hpacucli.spec b/check_hpacucli/nagios-okplugin-check_hpacucli.spec index d1e5811..aec41ac 100644 --- a/check_hpacucli/nagios-okplugin-check_hpacucli.spec +++ b/check_hpacucli/nagios-okplugin-check_hpacucli.spec @@ -28,7 +28,7 @@ perl -pi -e "s|/usr/lib64|%{_libdir}|g" sudoers.d/* rm -rf %{buildroot} install -D -p -m 0755 check_hpacucli.py %{buildroot}%{_libdir}/nagios/plugins/check_hpacucli.py install -D -p -m 0755 nrpe.d/check_hpacucli.cfg %{buildroot}/etc/nrpe.d/check_hpacucli.cfg -install -D -p -m 0755 sudoers.d/check_hpacucli %{buildroot}/etc/sudoers.d/check_hpacucli +install -D -p -m 0440 sudoers.d/check_hpacucli %{buildroot}/etc/sudoers.d/check_hpacucli %clean rm -rf %{buildroot}