useradd -r should start at the top of available uids