IBM Support

How to recover Developer Portal site admin password

Question & Answer


Question

Admin User is not able to reset the Developer Portal site "admin" account password via the Forgot Password link on the Sign In page.

Cause

This can happen due to several reasons, including:
- the email address for the admin account of the portal site is no longer accessible 
- the person in control of the admin email address is no longer available or the email address is  not accessible for some other reason.

Answer

It is possible to recover the Developer Portal site admin account password by running a few CLI commands.
Procedure
Step 1: ssh into the Developer Portal VM.
ssh admin@<<hostname or ip of portal vm>>
Step 2: List existing sites to get the UUID of the site for which you want to recover admin password.
Execute the “list_sites” command. For example:
$ list_sites
0cd88b-a09c-f53d667.3c3f72e0-eda1-4f47-be78-45f573c17a => <<your-site-url>> (INSTALLED)
Step 3: Retrieve the URL to reset the password by executing the “site_login_link” command passing the UUID from Step 2:
$ site_login_link 0cd88b-a09c-f53d667.3c3f72e0-eda1-4f47-be78-45f573c17a
https://<<your-site-url>>/user/reset/1/1535134638/X5OUXAw21TFsE2kbpzlwP8EsSp1I/new
Step 4: Copy and paste the URL produced in Step 3 to a browser and follow instructions to reset the password.

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.x","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
22 November 2019

UID

ibm11110279