ローカルの WebSphere サーバーのパスワードを回復するにはどうすればいいですか?

ローカルの WebSphere サーバーのパスワードを回復するにはどうすればいいですか?

wasadmin のパスワードを忘れました。そのため、管理パネルに入ることができません。パスワードを回復したいです。エンコードされたパスワードはどこにありますか? どうすればデコードできますか? 他の多くの場所で同じパスワードを使用しているため、パスワードをリセットするのではなく、パスワードを回復したいです。

答え1

http://robertmaldon.blogspot.com/2006/07/recovering-passwords-from-websphere.html

このリンクが役に立つかもしれません...

答え2

Websphere でパスワードを回復する

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="

Websphereでパスワードをデコードする

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"

これが役に立つかもしれません...

関連情報