Forgot Admin password

SOLVED

Hi,

For Sage X3 v12p32.

My client has forgotten the admin's password after changing the admin password from the default.

Is there a way for me to get back in other than consider reinstalling the MongoDB and Syracuse instance from scratch and reimport MongoDB data except the user login and redo the user logins to groups by hand?

  • +1
    verified answer

    Hi Chunheng,

    You have a couple options.

    1) If there is another System Admin user account setup in your system, they can reset the password through Administration/Users/Users.

    If that is not an option..

    2) This change can be made using a Mongo tool such as Studio3T, if you need assistance determining the correct values please open a support ticket for assistance with that.

    If you are not a BP you will need to reach out to them and they can create a support case for you.

  • 0 in reply to NevilleC

    1) nope.

    Just `admin`.

    `import` user was purged using a mongodb command from a script.

    2. In MongoDB, do I need to copy the whole `admin` section from another same X3 version and patch level `admin`?

    I vaguely remember it doesn't work if copy over just the encrypted password over.

  • 0 in reply to chunheng
    SUGGESTED

    If:

    - same version

    - same patch level

    - same login id/name. In this case, is `admin`.

    - same salt2

    then can just copy in the hashed password wholesale from own X3 instance.

    For edge cases, it probably doesn't work since I noticed syracuse does its own upgrade scripts on per needs basis, especially from lower versions to higher versions.