Managing OMT Management Portal Access
At times, you may be unable to log in to the OMT Management Portal with the admin user. When this situation occurs, you can unlock the user's account or reset the user's password.
Resetting the OMT Administrator Password
You can reset the administrator password on a OMT installation.
- Browse to OMT Management Portal.
- Log in using admin USERID and the password you specified during the platform installation in the command line argument. (This URL is displayed at the successful completion of the OMT installation shown earlier.)
- In the left navigation page, click IDM Administration.
- In the main panel, click SRG.
- In the left navigation bar, click Users.
- In the list of users on the right, select Admin and click Edit.
- In the bottom right, click Remove Password.
- Click Add Password.
- Enter a new admin password, then click Save.
Unlocking the OMT Management Portal User Account
- Log in to a master node as root.
- To access the shell of the
idm
container, run the following command: - To unlock the user, run the following command:
kubectl exec -it $(kubectl get pod -n core -ocustom-columns=NAME:.metadata.name |grep idm|head -1) -n core sh -c idm
sh /idmtools/idm-installer-tools/idm.sh databaseUser unlockUser -org Provider -name admin
Resetting the User's Password
- Log in to a master node as root.
- Run the following command to access the
idm
pod:
kubectl exec -it $(kubectl get pod -n core -ocustom-columns=NAME:.metadata.name |grep idm|head -1) -n core sh idm
- Run the following command to reset the password to a temporary value. (Replace
<new_tmp_password>
with your new temporary password.)
sh /idmtools/idm-installer-tools/idm.sh databaseUser resetPassword -org Provider -name "admin" -plainPwd "<new_tmp_password>"
If the user account is locked due to too many failed login attempts, run unlock, as described above in "Unlocking the OMT Management Portal User account"
- Log into the OMT Management Portal with the new temporary password, then set the new non-temporary password on the password reset page.
- Log in to the OMT Management Portal with the new password.