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
Enter new password:
Enter it again:

su -c “psql” – postgres

The related article for this article can be found here:

For more information about this and other topics, visit us at or to learn more about our Private Cloud Powered by VMware and NetApp, visit:

Video by: Justin Palmer

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

Inxy Hosting CDN Marketplace