3

I have forgotten the password to enter the websphere portal as admin.How to recover the password?..PLease help in this

nirmal90
  • 179
  • 1
  • 5
  • 15

3 Answers3

6

How to encode your password in Websphere 6 or 7

Step 1: Open up your console and navigate to the folder that contains "ws_runtime.jar". Use a search tool to find it.

Step 2: java -cp ws_runtime.jar com.ibm.ws.security.util.PasswordEncoder "password"

Example:

Input

java -cp ws_runtime.jar com.ibm.ws.security.util.PasswordEncoder "password"

Output

decoded password == "password", encoded password == "{xor}Lz4sLCgwLTs="

How to decode your password in Websphere 6 or 7

Step 1: Location and open "security.xml". It will be folder with a similar path like so "runtime\..?..\PROFILE_ACCOUNT\...?..\workspace\..?..\". Use a search tool to find it.

Step 2: In "security.xml", find the "authDataEntries" tag and then get the password attribute.

Step 3: Open up your console and navigate to the folder that contains "ws_runtime.jar". Use a search tool to find it.

Step 4: java -cp ws_runtime.jar com.ibm.ws.security.util.PasswordDecoder PASSWORD_ATTIBUTE

Example:

Input

java -cp ws_runtime.jar com.ibm.ws.security.util.PasswordDecoder {xor}Lz4sLCgwLTs=

Output

encoded password == "{xor}Lz4sLCgwLTs=", decoded password == "password"
Larry Battle
  • 9,008
  • 4
  • 41
  • 55
0

See the following technote:

Forgot password and cannot access WebSphere Application Server administrative console

Brett Kail
  • 33,593
  • 2
  • 85
  • 90
0

How to reset the administrator's password in the file registry. May be you can try this.

Apps
  • 3,284
  • 8
  • 48
  • 75