Categories
Knowledge Support Support exacqVision Enterprise Categories Products

How to reset the ESM admin password

Description

If the ESM administrator has lost or forgotten the ESM admin password, it can be reset by executing shell commands in the operating system of the ESM machine.

Note: root/admin level access to the ESM machine is required for this process.

In Linux:

  1. Open bash shell as root, or provide sudo on command execution
  2. Navigate to the install folder, /usr/local/exacq/esm/
  3. Execute as root, ./enterprisesystemmanager shell
  4. Type the following commands, hit enter after each line.
    from organization.models import EnterpriseUser
    u = EnterpriseUser.objects.filter(username=’admin’).get()
    u.set_password(‘password_goes_here’)
    u.save()
    import sys
    sys.exit()

<br>

In Windows:

  1. Open Command Prompt as administrator
  2. Navigate to the install folder, C:\exacqVisionESM\EnterpriseSystemManager\
  3. Execute, enterprisesystemmanager.exe shell
  4. Type the following commands, hit enter after each line.
    from organization.models import EnterpriseUser
    u = EnterpriseUser.objects.filter(username=’admin’).get()
    u.set_password(‘password_goes_here’)
    u.save()
    import sys
    sys.exit()