[GeoNetwork-users] How to reset the admin password?

Deal all,

I am unable to log on with the admin account to a certain GeoNetwork
instance, but I do not recall ever changing the password. How can reset (or
change) the admin password without logging on to the web interface?

Thank you.

An option is to update the password column in the user table from the db
creation script
https://github.com/geonetwork/core-geonetwork/blob/develop/web/src/main/webapp/WEB-INF/classes/setup/sql/data/data-db-default.sql#L655(use
the one from the version you're using).

Cheers.

Francois

2014-04-29 15:14 GMT+02:00 Luís de Sousa <luis.a.de.sousa@anonymised.com>:

Deal all,

I am unable to log on with the admin account to a certain GeoNetwork
instance, but I do not recall ever changing the password. How can reset (or
change) the admin password without logging on to the web interface?

Thank you.

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Hi François, that seems to be a possible fix, but how do I connect to the
database?

Thanks.

On 29 April 2014 15:31, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

An option is to update the password column in the user table from the db
creation script

https://github.com/geonetwork/core-geonetwork/blob/develop/web/src/main/webapp/WEB-INF/classes/setup/sql/data/data-db-default.sql#L655(use the one from the version you're using).

Cheers.

Francois

2014-04-29 15:14 GMT+02:00 Luís de Sousa <luis.a.de.sousa@anonymised.com>:

Deal all,

I am unable to log on with the admin account to a certain GeoNetwork
instance, but I do not recall ever changing the password. How can reset
(or
change) the admin password without logging on to the web interface?

Thank you.

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform
available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

After restarting the service I am able to log on again. Hat tip <a href="
http://gis.stackexchange.com/questions/94594/geonetwork-how-to-reset-the-admin-password&quot;&gt;nmtoken
at GIS.SE</a>.

Regards.

On 29 April 2014 16:01, Luís de Sousa <luis.a.de.sousa@anonymised.com> wrote:

Hi François, that seems to be a possible fix, but how do I connect to the
database?

Thanks.

On 29 April 2014 15:31, Francois Prunayre <fx.prunayre@anonymised.com> wrote:

An option is to update the password column in the user table from the db
creation script

https://github.com/geonetwork/core-geonetwork/blob/develop/web/src/main/webapp/WEB-INF/classes/setup/sql/data/data-db-default.sql#L655(use the one from the version you're using).

Cheers.

Francois

2014-04-29 15:14 GMT+02:00 Luís de Sousa <luis.a.de.sousa@anonymised.com>:

Deal all,

I am unable to log on with the admin account to a certain GeoNetwork
instance, but I do not recall ever changing the password. How can reset
(or
change) the admin password without logging on to the web interface?

Thank you.

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform
available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork