Highlighted
Contributor.. Contributor..
Contributor..
189 views

Transformation Hub Admin Password Reset

Greetings,

Can someone tell me where to find the instructions on how to reset the Transformation Hub admin password?

Thanks in advance!

Steve Cook - ArcSight Professional Services - Federal

steve.cook@mfgs.carahsoft.com

0 Likes
4 Replies
Highlighted
Contributor.. Contributor..
Contributor..

Re: Transformation Hub Admin Password Reset

Hi,

it has to be changed inside the postgresdb.

There are series of steps to connect to that db

You need to connect to postgresdb inside the pod and do couple of table inserts

 

Regards,

sai

0 Likes
Contributor.. Contributor..
Contributor..

Re: Transformation Hub Admin Password Reset

attached are the exact steps for changing expiry date.

step 9 you might need to change relevant to replacing existing password

Regards,

sai

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Transformation Hub Admin Password Reset

Hello there,

to reset password via CLI on TH.

Use the remote tool login such as "ssh" and connect to any node in cluster ( Master or Worker )

Once connected execute the command below to enter the IDM pod:

kubectl exec -it $(kubectl get pod -ncore -ocustom-columns=NAME:.metadata.name |grep idm|head -1) -ncore sh

Execute the command below with replaced and to change the user password

/idmtools/idm-installer-tools/idm.sh databaseUser resetPassword -org Provider -dbUrl "$( cat /opt/apache-tomcat/webapps/idm-service/WEB-INF/spring/applicationContext.properties|grep idm.persistence.connection.url| sed "s/ //g" | cut -c32- | sed "s/com.hp.ccue.identity.database.postgresql.PostgresFactory/com.hp.ccue.identity.installer.factory.PostgresFactory/")" -dbUserName "$DEFAULT_DB_CDFIDM_USERNAME" -dbPassword "$( get_secret $DEFAULT_DB_CDFIDM_PASSWORD_KEY | cut -c6-)" -name "<IDM User Name>" -plainPwd "<IDM User New Password>"

For example. Command below will reset the password of user "admin" as "passwd123"

/idmtools/idm-installer-tools/idm.sh databaseUser resetPassword -org Provider -dbUrl "$( cat /opt/apache-tomcat/webapps/idm-service/WEB-INF/spring/applicationContext.properties|grep idm.persistence.connection.url| sed "s/ //g" | cut -c32- | sed "s/com.hp.ccue.identity.database.postgresql.PostgresFactory/com.hp.ccue.identity.installer.factory.PostgresFactory/")" -dbUserName "$DEFAULT_DB_CDFIDM_USERNAME" -dbPassword "$( get_secret $DEFAULT_DB_CDFIDM_PASSWORD_KEY | cut -c6-)" -name "admin" -plainPwd "passwd123"

 

Best Regards,

 

Daniel

0 Likes
Highlighted
Contributor.. Contributor..
Contributor..

Re: Transformation Hub Admin Password Reset

Daniel,

Thank you for your reply!

Will test the steps shortly.

Steve

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.