Disabling WAS security by editing the configuration file

Some times there might be cases like forgetting WebSphere admin console password where we need to disable WebSphere Application Server security by editing configuration files without logging into the WAS admin console. In order to does this go to

WAS_INSTALL_DIR/profiles/<profileName>/config/cells/<cellName>/

and open the file security.xml. Search for a tag name

<security:Security.

This would be the first tag in security.xml file. In this tag we can see an attribute called

enabled="true"

Just change the value to false. Save the file and restart the server. Security will be disabled on the server.

Did you like this? If so, please
tell a friend
about it, and subscribe to the blog RSS feed.

Share/Save/Bookmark

If you enjoyed this post, make sure you subscribe to my RSS feed!