[Geoserver-users] Change Web Interface Password

Hello there,

My GeoServer is running in Web Archive mode inside of Tomcat (on Linuc
Machine).
I'm trying to change the login password. I found the the encrypted password
here:

/var/lib/tomcat7/webapps/geoserver/data/security/usergroup/default/users.xml

But I don't know how to encrypt the new password to replace it.

and here:
/var/lib/tomcat7/webapps/geoserver/data/security/config.xml

there is my current passwor (geoserver)
  <rememberMeService>
   
<className>org.geoserver.security.rememberme.GeoServerTokenBasedRememberMeServices</className>
    <key>geoserver</key>
  </rememberMeService>

I tried to change it but that didn't work.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Change-Web-Interface-Password-tp5159849.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

You can change your password if you navigate to user/group service and select the user.

Cheers
Christian

···

On Wed, Sep 3, 2014 at 11:55 AM, Diego M. <oo_O2_oo@anonymised.com> wrote:

Hello there,

My GeoServer is running in Web Archive mode inside of Tomcat (on Linuc
Machine).
I’m trying to change the login password. I found the the encrypted password
here:

/var/lib/tomcat7/webapps/geoserver/data/security/usergroup/default/users.xml

But I don’t know how to encrypt the new password to replace it.

and here:
/var/lib/tomcat7/webapps/geoserver/data/security/config.xml

there is my current passwor (geoserver)

org.geoserver.security.rememberme.GeoServerTokenBasedRememberMeServices
geoserver

I tried to change it but that didn’t work.


View this message in context: http://osgeo-org.1560.x6.nabble.com/Change-Web-Interface-Password-tp5159849.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH

Diego,

if you want to change the admin password by modifying a local file, you can store the password in plain text:
http://docs.geoserver.org/latest/en/user/security/passwd.html#plain-text

For example, if you want the "admin" user to have password "s3cr3t", you can modify data/security/usergroup/default/users.xml to include:

<user enabled="true" name="admin" password="plain:s3cr3t"/>

This is insecure as it exposes the admin password to all local users with read access, but it may be suitable for automated deployments on virtualised or containerised platforms.

For general use, changing the admin password using the web interface is preferred. You can create a digest1 password on one deployment and then copy this to other deployments.

In each case you will need to reload settings or restart geoserver for the change to take effect.

Kind regards,
Ben.

On 03/09/14 17:55, Diego M. wrote:

Hello there,

My GeoServer is running in Web Archive mode inside of Tomcat (on Linuc
Machine).
I'm trying to change the login password. I found the the encrypted password
here:

/var/lib/tomcat7/webapps/geoserver/data/security/usergroup/default/users.xml

But I don't know how to encrypt the new password to replace it.

and here:
  /var/lib/tomcat7/webapps/geoserver/data/security/config.xml

there is my current passwor (geoserver)
   <rememberMeService>

<className>org.geoserver.security.rememberme.GeoServerTokenBasedRememberMeServices</className>
     <key>geoserver</key>
   </rememberMeService>

I tried to change it but that didn't work.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Change-Web-Interface-Password-tp5159849.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Ben Caradoc-Davies <Ben.Caradoc-Davies@anonymised.com>
Software Engineer
CSIRO Mineral Resources Flagship
Australian Resources Research Centre

Thanks a lot!

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Change-Web-Interface-Password-tp5159849p5160258.html
Sent from the GeoServer - User mailing list archive at Nabble.com.