How can I reset an OnApp password at the command prompt?
Answer
Log in to your OnApp Cloud Control Panel using SSH:
ssh root@your.hostname
CODE
Go to the directory where your Control Panel is installed:
cd /onapp/interface
CODE
To generate a random password, run the following rake task:
rake onapp:password[admin_login]
CODE
To set a predefined password, run:
rake onapp:password[admin_login,new_password]
CODE
Make sure there are no spaces in brackets. If successful, a “Password successfully changed to 'new_password'” message appears. If the operation cannot be completed, you will get the list of errors.