Resetting the admin account

The FastX admin is a linux user on the system.  The password is the password of the user on the system.  There may come a time, when you do not know who is the admin user (users) and you must reset the account.  Follow these steps to reset the account

  1. Create a file /usr/lib/fastx/var/config/override.json
  2. Add the following to the file
    [ 
      { 
        "_id": "config/user/admin", 
        "users": ["__YOUR_NEW_ADMIN_USER__"] 
      }
    ]
  3. Save the file
  4. Restart the FastX Web Server

The override.json file will forcibly add the admin configuration object to the database reseting the admin account

See Overriding the Database for more information