Wildfly - Change Management Realm's Password

wildfly

Solution

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.

Problem

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?

Original source