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....


hth
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to