Resetting the Superuser Password
If you have forgotten your local PrivX superuser's password, you can reset it as follows:
-
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>
-
Access the PrivX database using psql with write permissions. Change the superuser password (Replace
password_hash
andsuperuser
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.
Updated over 3 years ago