websphereadminwebsphere-traditional

How to reset password for admin account in IBM websphere 6.1?


We have an admin account for our websphere application version 6.1 ! User admin account is wwsadmin. We have forgot the password of this admin account and not able to login into our console. Can anybody tell how we can reset the password of this admin account. I tried google and applied some steps but no help. Anyone who have worked as a admin for websphere 6.1 ?


Solution

  • First, turn off admin security:

    1. Connect to wsadmin:
      $WAS_HOME/bin/wsadmin.bat -connType NONE
    2. Turn off security:
      Jacl: wsadmin> securityoff
      Jython: wsadmin> securityoff()
    3. Restart the server (server1 in this case):
      $WAS_HOME/bin/stopServer.bat server1
      $WAS_HOME/bin/startServer.bat server1

    Then, connect to the admin console and set new admin user credentials and turn security back on:

    1. Start the server
    2. Open the admin console and go to Security -> Global Security
    3. Check the Enable administrative security box
    4. Use the Security Configuration Wizard to set new admin user credentials.

    These steps will work for WebSphere versions 6.0 and up.