Changing the default admin passwordΒΆ

GeoServer has a predefined admin user, which can be used to access GeoServer with full administration priviledges. The default password for the admin user must be changed to avoid unauthorized access to your GeoServer instance. To change the password of the admin user, follow these steps:

  1. Go to the GeoServer administration web page at [your GeoServer root url]/web (for instance: http://localhost:8080/geoserver/web)

    GeoServer administration web page
  2. Login using the login fields in the upper part of the page.

    Login fields

    Use admin as username and geoserver as password.

  3. Click on the Groups, users, roles menu link.

    User, groups and roles link
  4. In the page that will appear, move to the Users/Groups section.

    User, groups and roles page

    You will see the following content.

    Users/Groups content
  1. Click on the admin username to edit its properties. The following page will open.

    `admin` user configuration page
  2. Type in the new password to use for the admin user.

  3. Click on Save to save your changes.