Categories
Knowledge Support Support exacqVision Enterprise Categories Products

Resetting a Password in Enterprise System Manager

**This should NEVER be given out to a customer**

To reset the password for a user in Enterprise Manager, complete the following steps for Windows or Linux.

<br>

Windows

  1. Stop all six Enterprise Manager services.
  2. Open Command Prompt as Administrator.
  3. cd C:\ProgramFiles\exacqvision\enterprisemanager\enterprisesystemmanager
    Note: EnterpriseSystemManager can be in D:\ Make sure to validate where the EM folder is installed.
  4. Run the command enterprisesystemmanager.exe shell
  5. In the shell, type the following:
    from organization.models import EnterpriseUser
    u = EnterpriseUser.objects.get(username=”admin”)
    u.set_password(“Support.1”)
    u.save()
    import sys
    sys.exit()

    NOTE: It may be necessary to replace the field username=”admin” above with the actual username configured at time of installation, if not using default value. In example: username=”enterpriseadmin
  6. Restart Enterprise Manager services and log into EM with the new password.

<br>

Linux

  1. Stop all six Enterprise Manager services.
  2. To open Enterprise Manager Shell in Linux, open a Terminal window and type: sudo /usr/local/exacq/esm/enterprisesystemmanager shell
  3. In the shell, type the following:
    • from organization.models import EnterpriseUser
    • u = EnterpriseUser.objects.get(username="admin")
    • u.set_password("Support.1")
    • u.save()
    • import sys
    • sys.exit()
    • Exit Terminal and start all six Enterprise Manager Services

      NOTE: It may be necessary to replace the field username=”admin” above with the actual username configured at time of installation, if not using default value. In example: username=”enterpriseadmin

**If unable to login to the EM Web Portal on a Linux box after resetting the password, either user a different browser or upgrade repositories

sudo apt update

sudo apt upgrade