내 로컬 Websphere 서버의 비밀번호를 어떻게 복구할 수 있나요?

내 로컬 Websphere 서버의 비밀번호를 어떻게 복구할 수 있나요?

wasadmin의 비밀번호를 잊어버렸습니다. 그래서 관리 창에 들어갈 수 없습니다. 비밀번호를 복구하고 싶습니다. 인코딩된 비밀번호는 어디에 있습니까? 어떻게 디코딩할 수 있습니까?다른 여러 곳에서 동일한 비밀번호를 사용하고 있으므로 비밀번호를 복구하고 싶습니다. 대신 비밀번호를 재설정하세요.

답변1

답변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"

도움이 될 수도 있습니다...

관련 정보