Check man adduser.conf(5) There is an option for "uidstart" which should do what you want. If you set it to 1000 every time you run "adduser" it will show: # adduser Username: foo Full name: bar Uid [1000]: Don't worry -- it's just showing you the starting range. If there is already a UID of 1000 in use it will choose the next available. It's pretty nice because it even fills in holes if you remove users and then add new ones. However, that might be undesirable if you happen to leave files around from previous users and the new user gets the owning UID of those files.... hthReceived on Thu May 17 2012 - 11:24:37 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:27 UTC