From 123712ef025a7c086f854ed19b1cb66ccb7222d3 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Thu, 4 Jun 2015 12:08:47 -0700 Subject: [PATCH] Apply sudo config to the right user Sudo configuration applies to the user running the sudo command not new the user. --- pandora_server/pandora_server.redhat.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_server/pandora_server.redhat.spec b/pandora_server/pandora_server.redhat.spec index e09452fc64..546c657cf4 100644 --- a/pandora_server/pandora_server.redhat.spec +++ b/pandora_server/pandora_server.redhat.spec @@ -83,7 +83,7 @@ install -m 0640 conf/pandora_server.conf.new $RPM_BUILD_ROOT%{_sysconfdir}/pando mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sudoers.d chmod 0750 $RPM_BUILD_ROOT%{_sysconfdir}/sudoers.d cat < $RPM_BUILD_ROOT%{_sysconfdir}/sudoers.d/pandora -Defaults:pandora !requiretty +Defaults:root !requiretty EOF chmod 0440 $RPM_BUILD_ROOT%{_sysconfdir}/sudoers.d/pandora