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
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
- Category
- Liquid Web
- Tags
- liquidweb, datacenter, web

Be the first to comment