HomeDocumentationAPI Reference
Log In
These docs are for v17. Click to read the latest docs for v33.

Resetting the Superuser Password

If you have forgotten your local PrivX superuser's password, you can reset it as follows:

  1. On a PrivX server, obtain an hashed version of your new password (replace ​<example_password>​​ with your new password):

    # /opt/privx/bin/keyvault-tool bcrypt ​<example_password>​​
    
  2. Access the PrivX database using ​psql​ with write permissions. Change the superuser password (Replace ​password_hash​ and ​superuser​​ with the hashed password and your superuser-account name respectively):

    # UPDATE localuser SET password='​​password_hash​​' WHERE username='​superuser​​'
    

    You can now log into PrivX as superuser using the new password.