I'm using GeoServer 2.5.1 and I want to change my default Master Password as is suggested by GeoServer itself when I log in:
The master password for this server has not been changed from the default. It is highly recommended that you change it now. Change it
The Change it link leads me to the Change password form, though I need the default Master Password for this. According to this doc, I'm supposed to find it it at security/masterpw.info, however the only files I find there are masterpw.digest and masterpw.xml.
I've tried a bunch of sequences that looked like pws from these files and a file passwd in security/masterpw/default but all I am ever getting is
org.geoserver.security.validation.MasterPasswordChangeException: Current master password invalid
This is reproducible on two different servers and plenty of fresh installations.
Am I overseeing something? How can I change my masterpw without masterpw.info?
geoserver, see my answer for some more info. – Stijn Mar 14 '18 at 17:09adminaccount, the question was about therootaccount (called "master"). It's confusing and maybe just a change in history but hopefully my comment will prevent you, dear reader, from getting more confused than you already are. – bugmenot123 Mar 27 '24 at 08:41