WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  how to reset the Admin Console Password

    Posted Fri January 31, 2014 10:39 AM
    Hi all

    i can edit the security.xml and make it false after restarting the servers i can login to console without password again when i make it as True in security.xml it pops me up with a password if i type the password login failed.

    I need reset completely new passowrd how ?

    Thanks
    Naveen


  • 2.  how to reset the Admin Console Password

    Posted Sun March 16, 2014 09:51 AM
    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.