From 1649661028186ad7fd8151d7a06f719ac45972c4 Mon Sep 17 00:00:00 2001 From: Peter Vrabec Date: Wed, 4 Oct 2006 21:03:00 +0000 Subject: [PATCH] - fix regression. Permissions on user* group* binaries should be 0750, because of CAPP/LSPP certification - fix groupdel man page --- shadow-4.0.17-exitValues.patch | 12 ++++++++++++ shadow-utils.spec | 14 +++++++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 shadow-4.0.17-exitValues.patch diff --git a/shadow-4.0.17-exitValues.patch b/shadow-4.0.17-exitValues.patch new file mode 100644 index 0000000..6981160 --- /dev/null +++ b/shadow-4.0.17-exitValues.patch @@ -0,0 +1,12 @@ +--- shadow-4.0.17/man/groupdel.8.exitValues 2006-10-04 22:40:59.000000000 +0200 ++++ shadow-4.0.17/man/groupdel.8 2006-10-04 22:43:51.000000000 +0200 +@@ -45,6 +45,9 @@ + \fI2\fR + invalid command syntax + .TP 3n ++\fI6\fR ++specified group doesn’t exist ++.TP 3n + \fI8\fR + can't remove user's primary group + .TP 3n diff --git a/shadow-utils.spec b/shadow-utils.spec index bba2bda..713bc85 100644 --- a/shadow-utils.spec +++ b/shadow-utils.spec @@ -5,7 +5,7 @@ Summary: Utilities for managing accounts and shadow password files. Name: shadow-utils Version: 4.0.17 -Release: 5 +Release: 6 Epoch: 2 URL: http://shadow.pld.org.pl/ Source0: ftp://ftp.pld.org.pl/software/shadow/shadow-%{version}.tar.bz2 @@ -20,6 +20,7 @@ Patch4: shadow-4.0.13-newgrpPwd.patch Patch5: shadow-4.0.16-lOption.patch Patch6: shadow-4.0.17-UID_GID.patch Patch7: shadow-4.0.17-notInheritFd.patch +Patch8: shadow-4.0.17-exitValues.patch License: BSD Group: System Environment/Base @@ -57,6 +58,8 @@ are used for managing group accounts. cp %{SOURCE3} lib/nscd.c %patch7 -p1 -b .notInheritFd +%patch8 -p1 -b .exitValues + rm po/*.gmo rm po/stamp-po @@ -161,8 +164,8 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/lastlog %{_bindir}/newgrp %{_sbindir}/adduser -%{_sbindir}/user* -%{_sbindir}/group* +%attr(0750,root,root) %{_sbindir}/user* +%attr(0750,root,root) %{_sbindir}/group* %{_sbindir}/grpck %{_sbindir}/pwck %{_sbindir}/*conv @@ -210,6 +213,11 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/*/man8/faillog.8* %changelog +* Wed Oct 04 2006 Peter Vrabec 2:4.0.17-6 +- fix regression. Permissions on user* group* binaries + should be 0750, because of CAPP/LSPP certification +- fix groupdel man page + * Fri Aug 11 2006 Peter Vrabec 2:4.0.17-5 - fix bug introduced with UIG_GID.patch (#201991)