Hi Naveen,
how to recover/reset a lost password :
Here is a quick example on windows
Open the security.xml, find the entry for the encrypted password: it always starts with {xor}, in my case it is:
userId=”RodLaver” password=”{xor}LDo8LTor”
WAS_INSTALL_ROOT\lib>..\java\bin\java.exe -cp securityimpl.jar; iwsorb.jar; ras.jar; wsexception.jar;bootstrap.jar;emf.jar;ffdc.jar com.ibm.ws.security.util.PasswordDecoder{ xor}LDo8LTor =
You should get an output:
encoded password == "{ xor}LDo8LTor =", decoded password == "wasadmin"
WAS_INSTALL_ROOT\lib>..\java\bin\java.exe -cp securityimpl.jar; iwsorb.jar ;ras.jar ;wsexception.jar;bootstrap.jar;emf.jar;ffdc.jar com.ibm.ws.security.util.PasswordEncoder wasadmin
This will encode the password 'wasadmin':
decoded password == "wasadmin", encoded password == "{ xor}LDo8LTor ="
Hope this helps,
Cheers.