How to reset Password for Portal Admin if forgotten?
Solution:
This article talks about how to change administrative passwords by editing the user's profile via WebSphere Portal. However, in the case of a forgotten password, you can resolve the issue by performing the steps below.
1. Navigate to profile directory \IBM\WebSphere\wp_profile\bin\
2. Run the following command
3. Issue the following command and press enter
The above commands should reset the user's password in the fileRegistry.xml located in <wp_profile>/config/cells/<cellname>. However, note that you will still need to run the Portal ConfigEngine task(s) to update the configuration with the new password information:
4. Navigate to IBM\WebSphere\wp_profile\ConfigEngine directory.
5. Issue the following command
6. If your WebSphere Application Server admin user is the same ID as your Portal admin user, then also issue the following command:
7. Restart the servers including Portal.
Solution:
This article talks about how to change administrative passwords by editing the user's profile via WebSphere Portal. However, in the case of a forgotten password, you can resolve the issue by performing the steps below.
1. Navigate to profile directory \IBM\WebSphere\wp_profile\bin\
2. Run the following command
wsadmin -conntype NONE
3. Issue the following command and press enter
$AdminTask changeFileRegistryAccountPassword {-userId admin -password admin}
$AdminConfig save
The above commands should reset the user's password in the fileRegistry.xml located in <wp_profile>/config/cells/<cellname>. However, note that you will still need to run the Portal ConfigEngine task(s) to update the configuration with the new password information:
4. Navigate to IBM\WebSphere\wp_profile\ConfigEngine directory.
5. Issue the following command
ConfigEngine.bat wp-change-portal-admin-user - DnewAdminId=uid=wpsadmin,o=defaultWIMFileBasedRealm -DnewAdminPw=Pass1234-Dskip.ldap.validation=true
6. If your WebSphere Application Server admin user is the same ID as your Portal admin user, then also issue the following command:
ConfigEnginewp-change-was-admin-user -DnewAdminId=uid=wpsadmin,o=defaultWIMFileBasedRealm -DnewAdminPw=Pass1234-Dskip.ldap.validation=trueWhere wpsadmin is the new userId and Pass1234 is the new password of the server.
7. Restart the servers including Portal.
No comments:
Post a Comment