From 130ebc07b396daea5dd7d5592a5da7eb986dcfcf Mon Sep 17 00:00:00 2001 From: Peter Vrabec Date: Wed, 5 Aug 2009 13:53:27 +0000 Subject: [PATCH] increase threshold for uid/gid reservations to 200 (#515667) --- shadow-4.1.4.1-sysacc.patch | 4 ++-- shadow-utils.spec | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/shadow-4.1.4.1-sysacc.patch b/shadow-4.1.4.1-sysacc.patch index 3e204bd..8a6de17 100644 --- a/shadow-4.1.4.1-sysacc.patch +++ b/shadow-4.1.4.1-sysacc.patch @@ -15,7 +15,7 @@ diff -up shadow-4.1.4.1/libmisc/find_new_gid.c.sysacc shadow-4.1.4.1/libmisc/fin gid_max = (gid_t) getdef_ulong ("GID_MAX", 60000UL); } else { - gid_min = (gid_t) getdef_ulong ("SYS_GID_MIN", 1UL); -+ gid_min = (gid_t) getdef_ulong ("SYS_GID_MIN", 101UL); ++ gid_min = (gid_t) getdef_ulong ("SYS_GID_MIN", 201UL); gid_max = (gid_t) getdef_ulong ("GID_MIN", 500UL) - 1; gid_max = (gid_t) getdef_ulong ("SYS_GID_MAX", (unsigned long) gid_max); } @@ -161,7 +161,7 @@ diff -up shadow-4.1.4.1/libmisc/find_new_uid.c.sysacc shadow-4.1.4.1/libmisc/fin uid_max = (uid_t) getdef_ulong ("UID_MAX", 60000UL); } else { - uid_min = (uid_t) getdef_ulong ("SYS_UID_MIN", 1UL); -+ uid_min = (uid_t) getdef_ulong ("SYS_UID_MIN", 101UL); ++ uid_min = (uid_t) getdef_ulong ("SYS_UID_MIN", 201UL); uid_max = (uid_t) getdef_ulong ("UID_MIN", 500UL) - 1; uid_max = (uid_t) getdef_ulong ("SYS_UID_MAX", (unsigned long) uid_max); } diff --git a/shadow-utils.spec b/shadow-utils.spec index ffd2846..89d7895 100644 --- a/shadow-utils.spec +++ b/shadow-utils.spec @@ -1,7 +1,7 @@ Summary: Utilities for managing accounts and shadow password files Name: shadow-utils Version: 4.1.4.1 -Release: 4%{?dist} +Release: 5%{?dist} Epoch: 2 URL: http://pkg-shadow.alioth.debian.org/ Source0: ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/shadow-%{version}.tar.bz2 @@ -182,6 +182,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man8/vigr.8* %changelog +* Wed Aug 05 2009 Peter Vrabec 2:4.1.4.1-5 +- increase threshold for uid/gid reservations to 200 (#515667) + * Thu Jul 16 2009 Peter Vrabec 2:4.1.4.1-4 - fix a list of owned directories (#510366)