11

How can I change the default password of geoserver admin from geoserver to something else?

I have tried two different things, but none worked. First thing I tried following the online documentation is to go to the data_dir at:

 /usr/local/lib/geoserver-2.5/data_dir/security

and I could only find

  <user enabled="true" name="admin" password="digest1:XXXX...">

in usergroup/default/users.xml. But I can't edit a digest.

The second thing I tried is to change the password from the web admin interface in the "Passwords" menu on the left panel. Although I can change the password, but it seems to be changing something called the master password. The password for admin remains the same.

I am using geoserver2.5 from osgeolive8.

  • Are you running it off the CD? – BradHards Nov 19 '14 at 3:40
  • @BradHards I was running the live VM. – tinlyx Nov 19 '14 at 14:19
18

You can change the password via the web interface by going to the Users,Groups, and Roles link:

enter image description here


Once there, go to the Users/Groups tab and select the user which you want to edit

enter image description here


You can then change the passwords or any other details you need to change.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.