How to update a password or roles for a user created through the ./add-user.sh script in EAP6 ?

Solution Verified - Updated -

Environment

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

Issue

  • How to reset the password for a user created through the ./add-user.sh script in EAP 6.x ?
  • How to update the roles for a existing user in JBoss EAP 6.x?
  • How to change jboss user password ?

Resolution

  • The existing user password and roles can be updated by using the ./add-user.sh script and entering the same username again. Below are the steps :
    1. Run the ./add-user.sh script again.
    2. Select the appropriate type of user.
    3. Enter the same username.
    4. When the below question will be asked , enter yes and enter the new password.
User 'xyz' already exits, would you like to update the existing user password and roles
Is this correct yes/no?
  • The user password will be updated.

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.