Changes between Version 8 and Version 9 of GiB-tips
- Timestamp:
- 10/16/12 10:45:18 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GiB-tips
v8 v9 2 2 3 3 == 1 Creating additional user accounts == 4 GENI-in-a-Box creates an account for user ' alice'on the virtual machines created for your slice. You can add additional accounts on these virtual machines; the following steps show how you can add an account for user 'chris':4 GENI-in-a-Box creates an account for user 'gibuser' (your username on GENI-in-a-Box) on the virtual machines created for your slice. You can add additional accounts on these virtual machines; the following steps show how you can add an account for user 'chris': 5 5 1. Create a public-private key-pair for Chris using the command {{{ssh-keygen -t rsa}}}. The public key created ({{{chris.pub}}}) must be moved to the directory {{{~/.gcf}}} and the private key to {{{~/.ssh}}}. In the example below we used an empty passphrase i.e. hit <return> on the prompt for a passphrase. 6 6 {{{ … … 34 34 1. Look for the string {{{users =}}} in the file {{{~/.gcf/omni_config}}} and add Chris to the list of users: 35 35 {{{ 36 users = Alice, Chris36 users = Gibuser, Chris 37 37 }}} 38 38 2. Look for the section {{{# Define users here}}} and add the following lines to that section: … … 42 42 keys=~/.gcf/chris.pub 43 43 }}} 44 45 All accounts will have the same password, stored in the file ~/.gcf/passwords of the GENI-in-a-Box account you are logged into when you start up GENI-in-a-Box.46 44 47 45