Tuesday, 19 June 2012

Turn Off WAS Global Security

If you happen to forget WebSphere administrative console password, or are locked out due to user registry problems etc and cannot login to your admin console, you may want to turn off WebSphere Application Server global security from outside the administrative console so that you can login to admin console. 

To do so you can either change the security.xml file of WAS or use the wsadmin tool for it.
 
Using WAS command-line client wsadmin (run with root privileges):
 

1. Open a connection to local WAS in offline mode

wsadmin -conntype NONE
2. Turn off global security

wsadmin> securityoff

3. Save

wsadmin> $AdminConfig save

No comments:

Post a Comment

Custom Search