Wildfly - Change Management Realm's Password
-
21-12-2019 - |
Question
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?
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.
OTHER TIPS
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.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow