Adam Geraldy
Adam Geraldy

Reputation: 385

Wildfly - Change Management Realm's Password

Is there any way of changing Wildfly's Management Realm's password through config files of some sort? I kinda lost my password (my LastPass add-on for Firefox is kinda messing up with me). If there is, how?

Upvotes: 25

Views: 47961

Answers (2)

Darran L
Darran L

Reputation: 972

If you are using WildFly the add-user utility has the ability to replace existing passwords, just run it again for a user with the same username and it should give you the option to replace the password.

Upvotes: 24

Tomaz Cerar
Tomaz Cerar

Reputation: 5791

Passwords by default are stored in

$WILDFLY_HOME/standalone/configuration/mgmt-users.properties

but passwords are hashed. Best thing you can do is to remove the user you want and then re-add it via add-user.sh/.bat script you can find in bin folder.

Upvotes: 54

Related Questions