Change a Password for PostgreSQL on Linux via Command Line


In this video, we describe how to change a password for PostgreSQL in Linux via the command line.

Commands used:
su – postgres
psql
password
Enter new password:
Enter it again:

su -c “psql” – postgres

The related article for this article can be found here: https://www.liquidweb.com/kb/change-a-password-for-postgresql-on-linux-via-command-line/

For more information about this and other topics, visit us at https://www.liquidweb.com/kb/ or to learn more about our Private Cloud Powered by VMware and NetApp, visit: https://www.liquidweb.com/products/private-cloud/

Video by: Justin Palmer


Duration: 00:01:27
Publisher: Liquid Web
You can watch this video also at the source.


Join Us