[Pkg-shadow-devel] slow useradd -r on LDAP box

Nicolas François nicolas.francois at centraliens.net
Wed Jul 22 15:16:30 UTC 2009


On Mon, Jul 20, 2009 at 02:22:05PM +0200, pvrabec at redhat.com wrote:
> On Saturday 18 July 2009 02:43:02 am Nicolas François wrote:
> >
> > Regarding the default value for SYS_UID_MIN / SYS_GID_MIN, is it really
> > 101 on RedHat, or should it be 100?
> > (On Debian, only 0-99 is statically reserved)
> I have set it to 101 because SYS_GID == 100 is already occupied.  Max static 
> SYS_UID I can see is 99.

Isn't it occupied because of older versions of shadow?

On my computers, 101 to at least 115 were created before I created my
first user. (I guess because GID_MIN used to be 100 on Debian).

On the other hand, I do not really need to have consecutive ranges.
But the default /etc/login.defs should be configured consistently with the
default in the code.

I think it is fine to keep 101.
I will change the default SYS_GID_MIN / SYS_UID_MIN to 101 in login.defs.
(While looking at it, I also think the GROUP in /etc/default/useradd
should accept a group name)

Best Regards,

More information about the Pkg-shadow-devel mailing list