Adding and Deleting Users
User accounts within the OpenNebula system are managed by oneadmin with the oneuser create and oneuser delete commands. This section will show you how to create the different account types supported in OpenNebula
Administrators can be easily added to the system like this:
$ oneuser create otheradmin password
$ oneuser chgrp otheradmin oneadmin
Continue reading “User management in Nebula” »
In case of lost password you can use another user in oneadmin group to change the lost password:
$ oneuser passwd --sha1 oneadmin 'newpassword'
- Change the password directly in the database:
- Stop OpenNebula daemons (this is needed as some data is cached).
- Connect to the database and get the body of oneadmin user:
- select body from user_pool where name=’oneadmin’;
Continue reading “Reset Oneadmin password” »
Generating OpenSSH-compatible Keys for Use with PuTTY
To generate a set of RSA keys with PuTTYgen:
- Start the PuTTYgen utility, by double-clicking on its .exe file;
- For Type of key to generate, select SSH-2 RSA;
- In the Number of bits in a generated key field, specify either 2048 or 4096 (increasing the bits makes it harder to crack the key by brute-force methods);
- Click the Generate button;
- Move your mouse pointer around in the blank area of the Key section, below the progress bar (to generate some randomness) until the progress bar is full;
- A private/ public key pair has now been generated;
- In the Key comment field, enter any comment you’d like, to help you identify this key pair, later (e.g. your e-mail address; home; office; etc.) — the key comment is particularly useful in the event you end up creating more than one key pair;
- Optional: Type a passphrase in the Key passphrase field & re-type the same passphrase in the Confirm passphrase field (if you would like to use your keys for automated processes, however, you should not create a passphrase);
- Click the Save public key button & choose whatever filename you’d like (some users create a folder in their computer named my_keys);
- Click the Save private key button & choose whatever filename you’d like (you can save it in the same location as the public key, but it should be a location that only you can access and that you will NOT lose! If you lose your keys and have disabled username/password logins, you will no longer be able log in!);
- Right-click in the text field labeled Public key for pasting into OpenSSH authorized_keys file and choose Select All;
- Right-click again in the same text field and choose Copy.
NOTE: PuTTY and OpenSSH use different formats for public SSH keys. If the SSH Key you copied starts with “—- BEGIN SSH2 PUBLIC KEY …”, it is in the wrong format. Be sure to follow the instructions carefully. Your key should start with “ssh-rsa AAAA ….” Continue reading “How to login OpenNebula VM using Putty by public key exchanging” »
You can easily add you logos to the login and main screens by updating the logo: attribute as follows:
The login screen is defined in the
The logo of the main UI screen is defined for each view in the view file.
Find more on: