Bootstrap FreeKB - Postgres (SQL) - Reset a users password
Postgres (SQL) - Reset a users password

Updated:   |  Postgres (SQL) articles

The psql and alter user command can be used to set a users password.

$ sudo -u postgres psql
postgres=# alter user <username> with encrypted password '<password>';

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter a6dd9e in the box below so that we can be sure you are a human.