From cae35b95ab2c443b103ca0c47b16a2471038b7a0 Mon Sep 17 00:00:00 2001 From: Peter Vrabec Date: Wed, 25 Jul 2012 12:44:17 +0200 Subject: [PATCH] make /etc/default/useradd world-readable (#835137) --- shadow-utils.spec | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/shadow-utils.spec b/shadow-utils.spec index 7449e6b..761ac88 100644 --- a/shadow-utils.spec +++ b/shadow-utils.spec @@ -1,11 +1,11 @@ Summary: Utilities for managing accounts and shadow password files Name: shadow-utils Version: 4.1.5 -Release: 4%{?dist} +Release: 5%{?dist} Epoch: 2 URL: http://pkg-shadow.alioth.debian.org/ Source0: http://pkg-shadow.alioth.debian.org/releases/shadow-%{version}.tar.bz2 -Source1: shadow-utils.login.defs +Source1: shadow-utils.login.defs Source2: shadow-utils.useradd Patch0: shadow-4.1.5-redhat.patch Patch1: shadow-4.1.5-goodname.patch @@ -169,7 +169,7 @@ rm -rf $RPM_BUILD_ROOT %doc NEWS doc/HOWTO README %dir %{_sysconfdir}/default %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/login.defs -%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/default/useradd +%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/default/useradd %{_bindir}/sg %{_bindir}/chage %{_bindir}/gpasswd @@ -206,6 +206,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man8/vigr.8* %changelog +* Wed Jul 25 2012 Peter Vrabec - 2:4.1.5-5 +- make /etc/default/useradd world-readable (#835137) + * Sat Jul 21 2012 Fedora Release Engineering - 2:4.1.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild @@ -229,7 +232,7 @@ rm -rf $RPM_BUILD_ROOT - fix leaks in .IDs patch (#734340) * Wed Nov 16 2011 Peter Vrabec - 2:4.1.4.3-11 -- free memory associated with SELinux security contexts +- free memory associated with SELinux security contexts * Wed Nov 09 2011 Peter Vrabec - 2:4.1.4.3-10 - replace semanage call by library call @@ -267,7 +270,7 @@ rm -rf $RPM_BUILD_ROOT - fix find_new_uid/gid for big UID/GID_MAX * Wed Feb 09 2011 Peter Vrabec - 2:4.1.4.2-11 -- useradd man page (-m option) +- useradd man page (-m option) - create home directory on fs with noacl - remove faillog app (pam_tally.so is no longer shipped) Resolves: #523265, #622320 @@ -278,7 +281,7 @@ rm -rf $RPM_BUILD_ROOT Resolves: #674234 * Wed Jan 05 2011 Peter Vrabec - 2:4.1.4.2-9 -- fix gshadow functions from shadow utils +- fix gshadow functions from shadow utils - make shadow utils use gshadow functions from glibc Resolves: #665780 @@ -291,8 +294,8 @@ rm -rf $RPM_BUILD_ROOT - use preferred GID for reserved static IDs * Thu Apr 29 2010 Peter Vrabec - 2:4.1.4.2-6 -- preserve ACL's on files in /etc/skel - Resolves: #513055 +- preserve ACL's on files in /etc/skel + Resolves: #513055 * Wed Apr 28 2010 Peter Vrabec - 2:4.1.4.2-5 - newusers man page more informative @@ -444,7 +447,7 @@ rm -rf $RPM_BUILD_ROOT * Wed Feb 28 2007 Peter Vrabec 2:4.0.18.1-10 - spec file fixes to meet fedora standarts. -- fix useless call of restorecon(). (#222159) +- fix useless call of restorecon(). (#222159) * Sun Jan 14 2007 Peter Vrabec 2:4.0.18.1-9 - fix append option in usermod (#222540). @@ -471,7 +474,7 @@ rm -rf $RPM_BUILD_ROOT * Fri Nov 03 2006 Peter Vrabec 2:4.0.18.1-2 - improve audit logging (#211659) - improve "-l" option. Do not reset faillog if it's used (#213450). - + * Wed Nov 01 2006 Peter Vrabec 2:4.0.18.1-1 - upgrade @@ -479,7 +482,7 @@ rm -rf $RPM_BUILD_ROOT - add dist-tag * Wed Oct 04 2006 Peter Vrabec 2:4.0.17-6 -- fix regression. Permissions on user* group* binaries +- fix regression. Permissions on user* group* binaries should be 0750, because of CAPP/LSPP certification - fix groupdel man page @@ -564,7 +567,7 @@ rm -rf $RPM_BUILD_ROOT - audit support * Sat Aug 27 2005 Peter Vrabec 2:4.0.12-1 -- upgrade +- upgrade * Sat Aug 13 2005 Dan Walsh 2:4.0.11.1-5 - Change to use new selinux api for selinux_check_passwd_access @@ -578,11 +581,11 @@ rm -rf $RPM_BUILD_ROOT - fix useradd man page(#97131) * Mon Aug 08 2005 Peter Vrabec 2:4.0.11.1-2 -- do not copy files from skel directory if home directory +- do not copy files from skel directory if home directory already exist (#89591,#80242) * Fri Aug 05 2005 Peter Vrabec 2:4.0.11.1-1 -- upgrade +- upgrade * Mon May 23 2005 Peter Vrabec 2:4.0.7-9 - remove vigr binary @@ -597,13 +600,13 @@ rm -rf $RPM_BUILD_ROOT - fix chage -l option (#109499, #137498) * Mon Apr 04 2005 Peter Vrabec 2:4.0.7-5 -- fix memory leak, and CPU spinning when grp_update() and +- fix memory leak, and CPU spinning when grp_update() and duplicate group entries in /etc/group (#151484) * Mon Mar 29 2005 Peter Vrabec 2:4.0.7-4 - use newgrp binary - newgrp don't ask for password if user's default GID = group ID, - ask for password if there is some in /etc/gshadow + ask for password if there is some in /etc/gshadow and in /etc/group is 'x' (#149997) * Mon Mar 14 2005 Peter Vrabec @@ -893,7 +896,7 @@ rm -rf $RPM_BUILD_ROOT * Tue Mar 23 1999 Preston Brown - edit out unused CHFN fields from login.defs. -* Sun Mar 21 1999 Cristian Gafton +* Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 7) * Wed Jan 13 1999 Bill Nottingham