View Source

{kb-symptom}
User has lost their password for logging into Data Center Console.

{kb-resolution}
1. Log in to the server as root and browse to {{/usr/sbin/r1soft-datacenter-console/conf}}.
{code}# cd /usr/sbin/r1soft-datacenter-console/conf{code}
2. Create a file named {{adminreset.properties}} with your username and a new password (in this example, we are resetting the password for user "admin" and using the password "r1soft").
{code}# echo -e "admin.user=admin\nadmin.pass=r1soft" > adminreset.properties{code}
3. Restart the DCC service.
{code}# /etc/init.d/cdp-console restart{code}
After a few moments you will be able to log in using the credentials you provided in step #2.
{info:title=Tip}
A good practice to prevent this issue is to create "back door" super-user accounts on your CDP and DCC servers. By having an account with the same username and password combination on each of your servers, you can be sure you'll always be able to log in. You would then be able to reset the password for the primary super-user account after logging in as the backdoor user.{info}
{kb-related-articles}