Wildfly - Change Management Realm's Password

Adam Geraldy picture Adam Geraldy · Nov 18, 2013 · Viewed 38.5k times · Source

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?

Answer

Tomaz Cerar picture Tomaz Cerar · Nov 20, 2013

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.