Administration of Accounts
Accounts are created ad hoc for users who request them. Students require faculty approval and the student is added to a group corresponding to the faculty member.
The script to add a user is located at /root/administration/addhpcuser.sh
The new user's username, comment, and group memberships are provided as arguments. To add a new user with the username 'connerms', a comment of 'research student summer 2022', and group membership in 'christensenlab', the command is:
# /root/addhpcuser.sh connerms "christensen research student summer 2022" christensenlab
The script finds a UID greater than 1010 and creates a user with that UID, creates a home directory, then creates the same user with the same UID (but no home directory) on each compute node.
Authentication is handled by SSSD against AD (ldap). Configuration for authentication is located at /etc/sssd/sssd.conf
Users must have same UID across all compute nodes otherwise they'll run into permissions issues.