Reset Oneadmin password Rumi, July 31, 2015 In case of lost password you can use another user in oneadmin group to change the lost password: $ oneuser passwd --sha1 oneadmin 'newpassword' Or 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’; You will get an xml document with user data. The value you have to change is password. Make sure the password is hashed with sha1. You can do it with this command: $ echo -n 'newpassword' | openssl sha1 Update the table with the edited xml: update user_pool set body='<edited xml>' where name='oneadmin'; Now you can change your credentials and start OpenNebula again: $ echo "oneadmin:new_password" > ~/.one/one_auth $ one start Src: http://serverfault.com/questions/545108/opennebula-sunston-user-oneadmin-password Related Cloud Opennebula
User management in Nebula July 31, 2015July 31, 2015 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 Administrators can be easily added to the system like this: $ oneuser… Read More
How to login OpenNebula VM using Putty by public key exchanging July 31, 2015July 31, 2015 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… Read More
Essential Openvz commands May 31, 2017 1. Command to list the running VPSs in a node # vzlist Example: # vzlist CTID NPROC STATUS IP_ADDR HOSTNAME 106 104 running xx.xx.xx.xx server1.test.com 107 46 running xx.xx.xx.xx server2.test.com 108 83 running xx.xx.xx.xx server3.test.com 109 86 running xx.xx.xx.xx server4.test.com 2. This command lists all (running and stopped) the VPSs… Read More