increase threshold for uid/gid reservations to 200 (#515667)
This commit is contained in:
parent
8c824a0b04
commit
130ebc07b3
2 changed files with 6 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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 <pvrabec@redhat.com> 2:4.1.4.1-5
|
||||
- increase threshold for uid/gid reservations to 200 (#515667)
|
||||
|
||||
* Thu Jul 16 2009 Peter Vrabec <pvrabec@redhat.com> 2:4.1.4.1-4
|
||||
- fix a list of owned directories (#510366)
|
||||
|
||||
|
|
Loading…
Reference in a new issue