Change the WAS administrator password in the file registry
If we are using the file registry in the federation repository to store passwords, we need to change the passwords in the file registry.
Change the WAS administrator password stored in the file registry:
- Using a command prompt, change to the WP_PROFILE/bin directory.
- Issue the wsadmin -conntype NONE command and press Enter.
- Issue the $AdminTask changeFileRegistryAccountPassword {-userId <wpsadmin_ID> -password <wpsadmin_new_password>} command and press Enter.
- Issue the $AdminConfig save command and press Enter.
- Update the RunAsRole, which changes the stored password:
We can change the password for the WAS administrator user ID using the WebSphere Portal Edit My Profile portlet, the native utilities for the user repository, such as the LDAP administration interface or the WAS Administrative utilities. Regardless of which option you choose, once we have updated the password, we must also update the RunAsRole for the PZNScheduler application.
- Log on to the WAS admin console with the new password.
- Go to Applications > Application Types > WebSphere enterprise applications.
- Locate and click the pznscheduler application.
- Click User RunAs Roles under Detail Properties.
- Select RuleEventRunAsRole and then click Remove.
- Enter the fully distinguished name (DN) of the WAS Administrator in the username field and the new password in the password field.
- Select RuleEventRunAsRole and then click Apply to apply the changes.
- Click OK, save the changes, and then restart the server.
Parent Update user ID and passwords