update to 1.8.11p1

sudoers: enable /sbin/ldconfig for DISTRO_CMD users [release 1.8.11p1-1mamba;Tue Oct 28 2014]
This commit is contained in:
Silvan Calarco 2024-01-05 18:11:17 +01:00
parent 4df0d396e3
commit 95d151e793
2 changed files with 19 additions and 5 deletions

View File

@ -10,7 +10,7 @@
# User alias specification # User alias specification
# Cmnd 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 EXTRA_CMD =
Cmnd_Alias SYSADM_CMD = /sbin/service, /sbin/chkconfig, /usr/sbin/ufw 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/* Cmnd_Alias SYSADM_CMD_PASSWD = /sbin/*, /usr/sbin/*, /bin/*, /usr/bin/*, /opt/kde/bin/*, /opt/kde3/bin/*

View File

@ -4,8 +4,8 @@
%define with_exempt 0 %define with_exempt 0
Name: sudo Name: sudo
Version: 1.8.9p5 Version: 1.8.11p1
Release: 2mamba Release: 1mamba
Summary: Allows restricted root access for specified users Summary: Allows restricted root access for specified users
Group: System/Tools Group: System/Tools
Vendor: openmamba Vendor: openmamba
@ -25,12 +25,14 @@ Patch8: %{name}-1.8.6p4-qemu_no_geteuid.patch
License: BSD License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libz-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: pam-devel BuildRequires: pam-devel
%if "%{stage1}" != "1" %if "%{stage1}" != "1"
BuildRequires: libopenldap-devel BuildRequires: libopenldap-devel
BuildRequires: vim BuildRequires: vim
%endif %endif
## AUTOBUILDREQ-END
%if "%{stage1}" != "1" %if "%{stage1}" != "1"
Requires: vim >= 6.3 Requires: vim >= 6.3
%endif %endif
@ -133,9 +135,16 @@ exit 0
%attr(0755,root,root) %{_sbindir}/visudo %attr(0755,root,root) %{_sbindir}/visudo
%config %{_sysconfdir}/pam.d/sudo %config %{_sysconfdir}/pam.d/sudo
%dir %{_libexecdir}/sudo %dir %{_libexecdir}/sudo
%{_libexecdir}/sudo/group_file.la
%{_libexecdir}/sudo/group_file.so %{_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/sudo_noexec.so
%{_libexecdir}/sudo/sudoers.la
%{_libexecdir}/sudo/sudoers.so %{_libexecdir}/sudo/sudoers.so
%{_libexecdir}/sudo/system_group.la
%{_libexecdir}/sudo/system_group.so %{_libexecdir}/sudo/system_group.so
%{_includedir}/sudo_plugin.h %{_includedir}/sudo_plugin.h
%ghost %{_var}/log/%{name}.log %ghost %{_var}/log/%{name}.log
@ -150,9 +159,14 @@ exit 0
%{_mandir}/man8/sudoedit.* %{_mandir}/man8/sudoedit.*
%{_mandir}/man8/visudo.* %{_mandir}/man8/visudo.*
%{_mandir}/man8/sudo_plugin.8* %{_mandir}/man8/sudo_plugin.8*
%doc ChangeLog README README.LDAP %doc doc/LICENSE
#%doc ChangeLog README README.LDAP
%changelog %changelog
* Tue Oct 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.11p1-1mamba
- update to 1.8.11p1
- sudoers: enable /sbin/ldconfig for DISTRO_CMD users
* Thu Jul 03 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.9p5-2mamba * Thu Jul 03 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.9p5-2mamba
- /etc/sudoers: remove old programs and add ufw to SYSADM_CMD (to fix mambatray enable/disable) - /etc/sudoers: remove old programs and add ufw to SYSADM_CMD (to fix mambatray enable/disable)