In this video, we will explore how to locate the default password for PostgreSQL. The first question many ask after installing PostgreSQL is, “What is the default password???”
The easy answer is easy… There isn’t a default password! Find out how to get into the database quickly by watching our video or visiting https://www.liquidweb.com/kb/what-is-the-default-password-for-postgresql/ for more info!
find /var/lib/pgsql sequel -type f -iname pg_hba.conf
su – postgres
Publisher: Liquid Web
You can watch this video also at the source.