Postgres (SQL) - Reset a users password
by
Jeremy Canfield |
Updated: August 28 2023
| 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