Find the next available UID/GID

Published on June 1, 2018 by Kevin Guay


New User Accounts If you manage multiple linux servers, you know that creating users can be quite a process, especially when mounting/unmounting home directories and setting up permissions is involved. I am in the process of automating user creation with Ansible, but there is a road block that has been holding me back. Because we share home directories across systems, the user’s uid and gid need to be the same on all of the servers in our environment (especially our hpc environment).