In the future you are advised to setup and enable logging in as the "root"
user. This should be step 1 whenever working on security :)

https://docs.geoserver.org/latest/en/user/security/root.html

You may be able to edit the data directory by hand to enable logging in as
root.
--
Jody Garnett


On May 10, 2022 at 10:02:46 AM, Alexandre Gacon <alexandre.ga...@gmail.com>
wrote:

> If your aim is only to have the admin login working again, I would do a
> backup of the data_dir, start a brand new installation and copy back the
> data_dir again except for the security folder.
>
> alexandre
>
> Le mar. 10 mai 2022 à 17:58, Tom Chadwin <tomchad...@astuntechnology.com>
> a écrit :
>
>> Hello
>>
>> After experimenting with JDBC and LDAP authentication, user/group
>> services, and role services, I can no longer get admin access to the
>> web admin interface (presumably by failing to set the correct ADMIN
>> role, or something similar).
>>
>> Is there a moderately easy way to reconfigure Geoserver via its config
>> files to disable/reconfigure each/any of these which I've configured
>> in the web admin interface:
>>
>> - JDBC authentication
>> - JDBC user/group service
>> - JDBC role service
>>
>> I've delving in /var/lib/tomcat9/webapps/geoserver/data/security, but
>> I haven't quite found what I need yet.
>>
>> Many thanks
>>
>> Tom
>>
>> --
>> --
>> Sign up to our mailing list for updates on news, products, conferences,
>> events and training
>>
>> Astun Technology Ltd, t:+44 1372 744 009 contact us
>> online <https://www.astuntechnology.com/contact-us/>
>> web:
>> astuntechnology.com  <https://www.astuntechnology.com/
>> > twitter:@astuntech
>> <https://twitter.com/astuntech>
>>
>>
>> iShare - enterprise geographic
>> intelligence platform
>> <https://www.astuntechnology.com/cloud-products/ishare/>
>>
>> GeoServer,
>> PostGIS and QGIS training <https://www.astuntechnology.com/training/>
>> Support <https://www.astuntechnology.com/support/>
>>
>>
>>
>> Company registration
>> no. 5410695. Registered in England and Wales. Registered office: 120
>> Manor
>> Green Road, Epsom, Surrey, KT19 8LN VAT no. 864201149.
>>
>>
>>
>> _______________________________________________
>> Geoserver-users mailing list
>>
>> Please make sure you read the following two resources before posting to
>> this list:
>> - Earning your support instead of buying it, but Ian Turton:
>> http://www.ianturton.com/talks/foss4g.html#/
>> - The GeoServer user list posting guidelines:
>> http://geoserver.org/comm/userlist-guidelines.html
>>
>> If you want to request a feature or an improvement, also see this:
>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>
>>
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
> _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to