ID Numbering in Group and Passwd
Robin Laing
Robin.Laing at drdc-rddc.gc.ca
Wed Nov 23 19:53:29 UTC 2005
Craig White wrote:
> On Wed, 2005-11-23 at 10:46 -0700, Robin Laing wrote:
>
>>Dave Brown wrote:
<snip>
>
> ----
> I think that you will a number of these 'defaults' can be adjusted by
> editing:
>
> /etc/default/useradd
> /etc/login.defs
>
> Craig
>
>
Hey, I learned something today.
In /etc/login.defs,
#
# Min/max values for automatic uid selection in useradd
#
UID_MIN 500
UID_MAX 60000
#
# Min/max values for automatic gid selection in groupadd
#
GID_MIN 500
GID_MAX 60000
may solve the whole mess.
It may be a nice idea to change these defaults to prevent this
headache in the future. I will play with this at home and then submit
an enhancement request if it works as I would like.
Thank you for the info.
Robin
More information about the users
mailing list