FreeBSD and LDAP users, bug or feature?

Mark Felder feld at feld.me
Thu May 17 13:24:37 UTC 2012


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


More information about the freebsd-current mailing list