-
1. Re: How to change password for mgmt-users.properties?
dlofthouse Apr 23, 2018 5:27 AM (in response to aiya0933)1 of 1 people found this helpfulJust execute the add-user script and 'add' the user again, it will detect the user already exists and allow you to change the password.
-
2. Re: How to change password for mgmt-users.properties?
vamshi1413 Apr 23, 2018 8:12 PM (in response to dlofthouse)1 of 1 people found this helpfulwhat dlofthouse said is correct, see below highlighted.
What type of user do you wish to add?
a) Management User (mgmt-users.properties)
b) Application User (application-users.properties)
(a): aEnter the details of the new user to add.
Using realm 'ManagementRealm' as discovered from the existing property files.
Username : admin
User 'admin' already exists and is enabled, would you like to...
a) Update the existing user password and roles
b) Disable the existing user
c) Type a new username
(a): -
3. Re: How to change password for mgmt-users.properties?
aiya0933 Apr 25, 2018 3:04 AM (in response to vamshi1413)Hi,
When I execute the above command, i choose option (a) to update the existing user password and roles. After which, I restarted the Wildfly server and tried to access the management console through http://localhost:9990/console/App.html#home, it does not recognize the updated password. Rather i was able to login using the old password. Can you advise if i have missed out any step?
Tks
Angela
-
4. Re: How to change password for mgmt-users.properties?
dlofthouse Apr 25, 2018 5:58 AM (in response to aiya0933)1 of 1 people found this helpfulWhen the utility updates the password it outputs which files it wrote the user to, I would suggest firstly double check the files under the server installation are the ones being modified.
Secondly I am assuming you are using the default security realm settings, have any changes been made either to the realms or to the management interfaces referencing the realms?
-
5. Re: How to change password for mgmt-users.properties?
aiya0933 Apr 25, 2018 10:18 PM (in response to dlofthouse)Hi Darran,
Yes, I have done some changes to the management realms. Hence, the update to the mgmt-users.properties and mgmt-groups.properties are still in the default security realm settings. I tried to copy out the files from default configuration folder and override the properties files in my changed directory, and it works now. Thank you for your advice!