Managing your cloud resources with OpenStack: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 125: Line 125:


<!--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]] 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]] 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 [[SSH keys]] and linked pages.
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
Line 187: Line 187:


<!--T:37-->
<!--T:37-->
Once this is done, users can log into the VM with their private keys as usual (see [[SSH keys]]).
Once this is done, users can log into the VM with their private keys as usual (see [[SSH Keys]]).


=Downloading an image= <!--T:38-->
=Downloading an image= <!--T:38-->
cc_staff
1,486

edits