From RedHat's patch shadow-4.1.2-sysAccountDownhill.patch

Thanks to Peter Vrabec.
	* NEWS, libmisc/find_new_gid.c, libmisc/find_new_uid.c: Build an
	index of used IDs to avoid a database request for each id in the
	allowed range (when the highest allowed ID is already used).
	This speedups the addition of users or groups when the highest
	allowed ID is already used. The additional memory usage of the
	tools should be acceptable when UID_MAX/SYS_UID_MAX are set to a
	reasonable number.
This commit is contained in:
nekral-guest
2008-09-13 11:54:49 +00:00
parent 70c9eeff05
commit 8c060833c8
4 changed files with 39 additions and 12 deletions

7
NEWS
View File

@@ -12,6 +12,10 @@ shadow-4.1.2.1 -> shadow-4.1.3 UNRELEASED
groupadd, groupdel, groupmod, newusers, useradd, userdel, and usermod.
This authentication is not necessary when these tools are not
installed setuid root.
- addition of users or groups
* Speed improvement in case UID_MAX/SYS_UID_MAX/GID_MAX/SYS_GID_MAX is
used for an user/group. This should be noticeable in case of LDAP
configured systems. This should impact useradd, groupadd, and newusers
- gpasswd
* Added support for long options --add (-a), --delete (-d),
@@ -19,6 +23,7 @@ shadow-4.1.2.1 -> shadow-4.1.3 UNRELEASED
--members (-M).
- groupadd
* audit logging improvements.
* Speedup (see "addition of users or groups" above).
- groupdel
* audit logging improvements.
- groupmems
@@ -35,12 +40,14 @@ shadow-4.1.2.1 -> shadow-4.1.3 UNRELEASED
--list (-l), --group (-g).
- newusers
* Implement the -r, --system option.
* Speedup (see "addition of users or groups" above).
- passwd
* For compatibility with other passwd version, the --lock an --unlock
options do not lock or unlock the user account anymore. They only
lock or unlock the user's password.
- useradd
* audit logging improvements.
* Speedup (see "addition of users or groups" above).
- userdel
* audit logging improvements.
- usermod