Zoomdata Version

Resetting the Admin and Supervisor Passwords

The only way to reset your Supervisor user credentials is to manually initiate the password reset procedure for both your Admin and Supervisor users directly through MongoDB or PostgreSQL (depending on the Zoomdata version you use). To manually reset the password of your Supervisor user follow the steps listed below.

To reset your Supervisor password in Zoomdata 2.2 or earlier:

  1. Connect to your Mongo shell by entering mongo in the terminal window of your Zoomdata Server (or MongoDB server if your MongoDB is located separately from your Zoomdata).

  2. Run the following commands:

    use <zoom>;					
    db.users.update({name: "admin"},{$set:{forcePasswordChange: true}});
    db.users.update({name: "supervisor"},{$set:{forcePasswordChange: true}});

    where <zoom> is the name of your Zoomdata database.

  3. Enter exit to exit the Mongo console.

  4. Using a browser window, log into your Zoomdata environment. You should see the window prompting you to set your password again for both your Admin and Supervisor users. This should be the same page you see when you attempt to log into Zoomdata after you install it for the first time.

If you are unable to reset your Supervisor password or continue to encounter issues with your Supervisor user after resetting the password, please contact Zoomdata Technical Support for further assistance.

To reset your Supervisor password in Zoomdata versions later than 2.2:

  1. Open your SSH client.

  2. Run the following command to connect to your Zoomdata PostgreSQL database:

    sudo -u postgres psql -d <zoomdata>

    where <zoomdata> is the name of your Zoomdata database.

  3. Run the following command to force the password change for admin and supervisor:

    update users set force_password_change=true where name in ('admin','supervisor');
  4. Navigate to the Zoomdata login screen. You will be prompted to create new passwords for both accounts.

Was this topic helpful?