Hi, I am currently trying to write a set of install scripts for GeoServer to make life easier for our support engineers. I have written a powershell script, using the Platform Indeprendent Binary<http://sourceforge.net/projects/geoserver/files/GeoServer/2.15.0/geoserver-2.15.0-bin.zip>.
I have been able to update things like the Port (by editing the start file) and the home directory (by setting environment variables). The last part of the puzzle is being able to change the password for the admin account. I would like to be able to script this, and not have to use the GUI. Additionally, I would like to avoid putting the username/password combo in the users file in plain text. Is there any way of doing this? Any utility or anything that will allow me to encrypt a password in the correct format? Regards, Hannah Hannah McKee Software Developer Digital & Computational Pathology Philips Philips UKI, Concourse 3, Unit 5, Level 2, Catalyst Inc, Queen's Road, Belfast, BT3 9DT, Northern Ireland Email: hannah.mc...@philips.com<mailto:hannah.mc...@philips.com> [Shield_email]<https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.philips.co.uk%2Fhealthcare%2Fsolutions%2Fpathology&data=02%7C01%7C%7C937a6712c22b472e064108d638476991%7C1a407a2d76754d178692b3ac285306e4%7C0%7C0%7C636758276691204037&sdata=1QQYdXdCEZ2L2Px4P1489DHanSzoAdUCbE3K8uqrHQ4%3D&reserved=0> Connect with Philips [Twitter]<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2FPhilips_Path&data=02%7C01%7C%7C937a6712c22b472e064108d638476991%7C1a407a2d76754d178692b3ac285306e4%7C0%7C0%7C636758276691214041&sdata=pUFWqCNQZRvkb5MJk79jOS1vggN%2BGuxyu9oADOcmrWo%3D&reserved=0>[LinkedIn]<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fpathxl&data=02%7C01%7C%7C937a6712c22b472e064108d638476991%7C1a407a2d76754d178692b3ac285306e4%7C0%7C0%7C636758276691214041&sdata=hbC41ndp2PaiNyztkVB6D%2FcT61%2BCGMxR2xcmnuchIz4%3D&reserved=0>[YouTube]<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fresults%3Fsearch_query%3DPhilips%2Bdigital%2Bpathology&data=02%7C01%7C%7C937a6712c22b472e064108d638476991%7C1a407a2d76754d178692b3ac285306e4%7C0%7C0%7C636758276691224049&sdata=dTLVi9nXI57p56C8no6HbNy4JL6v5XcIWkhHdCogPcw%3D&reserved=0> ________________________________ The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
_______________________________________________ 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