Reset users password in WebSphere

Home > Search

WebSphere can be configured to obtain users from the following sources. You can only reset a users password in WebSphere if the user account resides in the fileRegistry.xml file on the WebSphere server. When WebSphere is configured with a Federated Repository, typically, user accounts reside in the fileRegistry.xml file on the WebSphere server. If WebSphere is configured to obtain user accounts from LDAP or from the local Operating System, then you would reset the users password in LDAP or in the local Operating System.


In the left panel of the WebSphere web console, expand Users and Groups and select Manage Users. If the below message is displayed, this suggests that WebSphere is configured to use the local Operating System or LDAP for authentication.


If users are displayed, check the Unique Name column to determine if the user account resides on a file on the WebSphere server (defaultWIMFileBasedRealm), or if the user account resides in LDAP or on the local operating system. You would only reset the password if the user account resides on a file on the WebSphere server.


In this example, Jeremy Canfield (thats me!) password is reset.


A users password can also be reset using (Linux) or wsadmin.bat (Windows).

$AdminTask changeFileRegistryAccountPassword {-userId username -password password}


Under the hood, resetting a users password will update the ${was_install_root}/profiles/your_profile/config/cells/your_cell/fileRegistry.xml file. The date and time that the users password was reset will be updated in fileRegistry. Also, the users new password, in encrypted form, will be updated in the fileRegistry.xml file.



Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter in the box below so that we can be sure you are a human.