From bfc25e3eb6f8519807f061497516973b276fce06 Mon Sep 17 00:00:00 2001 From: zhangzeyang Date: Mon, 10 Apr 2023 10:22:46 +0000 Subject: [PATCH] update sudo.spec. change spec fix profile Overwrite Signed-off-by: zhangzeyang --- sudo.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sudo.spec b/sudo.spec index b51441a..f4aaf22 100644 --- a/sudo.spec +++ b/sudo.spec @@ -1,6 +1,6 @@ Name: sudo Version: 1.9.2 -Release: 11 +Release: 12 Summary: Allows restricted root access for specified users License: ISC URL: http://www.courtesan.com/sudo/ @@ -139,8 +139,8 @@ install -p -c -m 0644 %{SOURCE3} $RPM_BUILD_ROOT/etc/pam.d/sudo-i %attr(0440,root,root) %config(noreplace) /etc/sudoers %attr(0750,root,root) %dir /etc/sudoers.d/ %attr(0644,root,root) %{_tmpfilesdir}/sudo.conf -%attr(0644,root,root) /etc/dnf/protected.d/sudo.conf -%attr(0640,root,root) /etc/sudo.conf +%attr(0644,root,root) %config(noreplace) /etc/dnf/protected.d/sudo.conf +%attr(0640,root,root) %config(noreplace) /etc/sudo.conf %attr(4111,root,root) %{_bindir}/sudo %attr(0111,root,root) %{_bindir}/sudoreplay %{_bindir}/sudoedit @@ -175,6 +175,9 @@ install -p -c -m 0644 %{SOURCE3} $RPM_BUILD_ROOT/etc/pam.d/sudo-i %exclude %{_pkgdocdir}/ChangeLog %changelog +* Mon Apr 10 2023 zhangzeyang - 1.9.2-12 +- change spec fix profile Overwrite + * Tue Mar 28 2023 wangcheng - 1.9.2-11 - Fix CVE-2023-28486 and CVE-2023-28487 -- Gitee