Adding Additional User Accounts to a VM
This document provides instructions and commands to add additional user accounts to existing cloud VMs, steps are provided for each supported operating system.
Prerequisites
sudo
level access to the machines you wish to add the new users to.The username of each user you wish to add.
For STFC users we recommend using their Fed ID (STFC Username) for consistency.
The corresponding SSH Public Key for each user.
We do not recommend setting passwords for added users and as such the following instructions only provide steps to allow additional users to authenticate using SSH Key based authentication.
Rocky Linux
Ubuntu
Example Public Keys
The following keys are all examples used to demonstrate acceptable formatting of public keys in authorized keys files.