Reset user password

Reset password command

To reset a user's password, use the following command on the server where Postgresus is running:

docker exec -it postgresus ./main --new-password="YourNewSecurePassword123" --email="admin"

Parameters

The command accepts the following parameters:

  • --new-password: The new password. Make sure it's secure and contains a mix of letters, numbers and special characters.
  • --email: The email address of the user whose password you want to reset (e.g., admin, user@example.com).