From 95d151e7936c6dee46ba4917772eb66365c8174f Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:11:17 +0100 Subject: [PATCH] update to 1.8.11p1 sudoers: enable /sbin/ldconfig for DISTRO_CMD users [release 1.8.11p1-1mamba;Tue Oct 28 2014] --- sudo-sudoers.conf | 2 +- sudo.spec | 22 ++++++++++++++++++---- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/sudo-sudoers.conf b/sudo-sudoers.conf index ef31ebb..eb62e4b 100644 --- a/sudo-sudoers.conf +++ b/sudo-sudoers.conf @@ -10,7 +10,7 @@ # User alias specification # Cmnd alias specification -Cmnd_Alias DISTRO_CMD = /usr/bin/rpm, /usr/bin/smart +Cmnd_Alias DISTRO_CMD = /usr/bin/rpm, /usr/bin/smart, /sbin/ldconfig # Cmnd_Alias EXTRA_CMD = Cmnd_Alias SYSADM_CMD = /sbin/service, /sbin/chkconfig, /usr/sbin/ufw Cmnd_Alias SYSADM_CMD_PASSWD = /sbin/*, /usr/sbin/*, /bin/*, /usr/bin/*, /opt/kde/bin/*, /opt/kde3/bin/* diff --git a/sudo.spec b/sudo.spec index fbc1c6c..d1cc293 100644 --- a/sudo.spec +++ b/sudo.spec @@ -4,8 +4,8 @@ %define with_exempt 0 Name: sudo -Version: 1.8.9p5 -Release: 2mamba +Version: 1.8.11p1 +Release: 1mamba Summary: Allows restricted root access for specified users Group: System/Tools Vendor: openmamba @@ -25,12 +25,14 @@ Patch8: %{name}-1.8.6p4-qemu_no_geteuid.patch License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: libz-devel +BuildRequires: perl-devel +## AUTOBUILDREQ-END BuildRequires: pam-devel %if "%{stage1}" != "1" BuildRequires: libopenldap-devel BuildRequires: vim %endif -## AUTOBUILDREQ-END %if "%{stage1}" != "1" Requires: vim >= 6.3 %endif @@ -133,9 +135,16 @@ exit 0 %attr(0755,root,root) %{_sbindir}/visudo %config %{_sysconfdir}/pam.d/sudo %dir %{_libexecdir}/sudo +%{_libexecdir}/sudo/group_file.la %{_libexecdir}/sudo/group_file.so +%{_libexecdir}/sudo/libsudo_util.la +%{_libexecdir}/sudo/libsudo_util.so +%{_libexecdir}/sudo/libsudo_util.so.* +%{_libexecdir}/sudo/sudo_noexec.la %{_libexecdir}/sudo/sudo_noexec.so +%{_libexecdir}/sudo/sudoers.la %{_libexecdir}/sudo/sudoers.so +%{_libexecdir}/sudo/system_group.la %{_libexecdir}/sudo/system_group.so %{_includedir}/sudo_plugin.h %ghost %{_var}/log/%{name}.log @@ -150,9 +159,14 @@ exit 0 %{_mandir}/man8/sudoedit.* %{_mandir}/man8/visudo.* %{_mandir}/man8/sudo_plugin.8* -%doc ChangeLog README README.LDAP +%doc doc/LICENSE +#%doc ChangeLog README README.LDAP %changelog +* Tue Oct 28 2014 Silvan Calarco 1.8.11p1-1mamba +- update to 1.8.11p1 +- sudoers: enable /sbin/ldconfig for DISTRO_CMD users + * Thu Jul 03 2014 Silvan Calarco 1.8.9p5-2mamba - /etc/sudoers: remove old programs and add ufw to SYSADM_CMD (to fix mambatray enable/disable)