[Pkg-shadow-devel] RedHat patch shadow-4.1.2-sysAccountDownhill.patch
nicolas.francois at centraliens.net
Tue Sep 9 22:34:09 UTC 2008
In the RedHat patch shadow-4.1.2-sysAccountDownhill.patch, the index array
is only used for system accounts. Is there a reason?
(If the max UID is kept to 60000, the memory consumption should still be
under control if it is used also for the creation of regular users.)
Also, the algorithm used if the uid_max UID is already assigned is to
assign a free UID starting from uid_max, I don't really see the rational
for this. Is it a behavior that I need to keep? (I guess it was intended
given the patch name)
(This downhill behavior is only used when SYS_GID_MAX is used, otherwise,
an uphill algorithm is used).
I've currently applied a patch (or maybe it's just in a local copy), which
create an index in all cases (system UID or not), and use the "find first
free UID fallback algorithm". Is it OK?
Thanks in advance,
More information about the Pkg-shadow-devel