[mapguide-users] Reset MapAgent credentials

Jackie Ng jumpinjackie at gmail.com
Mon Sep 2 03:05:32 PDT 2019

Completely un-tested scenario, but this is probably your only option.

1. Install MapGuide Open Source 4.0 Preview 1
(https://trac.osgeo.org/mapguide/wiki/Release/4.0.0/Preview1/Notes). For the
purpose of solving your particular problem, you should probably go with the
instantsetup bundle instead of the windows installer.

2. Make sure the mgserver.exe for this 4.0 Preview 1 install is not running.

3. Copy the entire contents of "Server/Repositories" from your problem
MapGuide install to your 4.0 Preview 1 install. Make a backup of this data
as well in case the following steps irreversibly mess things up.

4. Open a command prompt on the 4.0 Preview 1 "server/bin" folder and run
the following command:

mgserver.exe setpwd Administrator the_admin_pwd_you_want_to_change_to

Repeat this step for any other user whose password you want to change.

5. Start the MapGuide Server and web tiers on your 4.0 Preview 1 install.
Use Maestro to connect to this server instance with your updated
Administrator password. If you can connect and browse your site repository,
congratulations! You've successfully reset your password using the new
setpwd command-line feature introduced in MGOS 4.0. At this point, you can
stop the MapGuide Server/Web tiers and copy the contents of
"Server/Repositories" of the 4.0 install back into the problem MapGuide
installation, overwriting any existing files. Restart the server/web tiers
on your problem installation and it should now have the user database with
updated passwords.

Let us know how this goes.

- Jackie

Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html

More information about the mapguide-users mailing list