Adding Users to your VM¶
These steps will let the user that you create ssh to a running instance using a password you set. The user can reset the password once they login and/or add their ssh keys.
All steps to be run as root or using sudo.
- Sudo or otherwise become root:
sudo su -
- Create the user:
- Assign a temporary password:
As an optional step, you can add the user to any other groups as needed. We’ll use the docker group as an example.
- Add the user to group “docker” :
usermod -a -G docker <username>