Resetting Websphere security

Another WebSphere Application Server (WAS) tip…

If you, ahem, forget your WAS Admin password, then you will be locked out from your Websphere console, and won’t be able to stop the WAS server.  A bit of a bind I can tell you…

Well, fortunately this can be rectified as long as you have access to your WAS server’s OS platform:

To disable global security, edit the server security.xml file. The security.xml file can be found in the {mountpoint}/AppServer/config/cells/ directory.

To disable global security, edit the security.xml. Search for the line that begins with the following tag: security:Security. In that line search for enabled. The word following enabled is true. Change it to false. Save the file. Restart the server. Global security is now disabled.

Now of course I wouldn’t be silly enough to ever need to do this, right!?!

Stuart McIntyre is a Senior Strategist at Fostering Community Limited. He curates a number of product-focused news sites, is a lapsed podcaster, founded the Social Connections user group and regularly speaks at conferences and events. This blog represents his own slightly-eccentric and usually-controversial opinions!