cc_staff
1,486
edits
No edit summary |
No edit summary |
||
Line 126: | Line 126: | ||
<!--T:29--> | <!--T:29--> | ||
There are a number of ways to allow more than one person to log in to a VM. We recommend creating new user accounts and adding public [[Ssh keys|SSH keys]] to these accounts. To do so manually, first create a new user account (under Ubuntu, for example) with the command {{Command|sudo adduser --disabled-password USERNAME}} | There are a number of ways to allow more than one person to log in to a VM. We recommend creating new user accounts and adding public [[Ssh keys|SSH keys]] to these accounts. To do so manually, first create a new user account (under Ubuntu, for example) with the command {{Command|sudo adduser --disabled-password USERNAME}} | ||
Then add the person's public key to the <code>/home/$USER/.ssh/authorized_keys</code> file as described in [[ | Then add the person's public key to the <code>/home/$USER/.ssh/authorized_keys</code> file as described in [[SSH keys]] and linked pages. | ||
If you wish to allow the new user root privileges, then you need to add the permissions with | If you wish to allow the new user root privileges, then you need to add the permissions with |