How to reset password of admin console in JBoss EAP 6 ?

Solution Unverified - Updated -

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Issue

  • How to reset password of admin console in JBoss EAP 6 ?

Resolution

Using $JBOSS_HOME/bin/add-user.sh script we can overwrite existing user details.To reset login details execute script and use same user name but specify different password, it will overwrite exiting login details.

# ./add-user.sh 

What type of user do you wish to add? 
 a) Management User (mgmt-users.properties) 
 b) Application User (application-users.properties)
(a): a

Enter the details of the new user to add.
Using realm 'ManagementRealm' as discovered from the existing property files.
Username : jboss
User 'jboss' already exits, would you like to update the existing user password and roles
Is this correct yes/no? yes
...

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.