| Open "/pg_hba.conf" in an editor. (The default path for the postgresql data directory is /var/lib/ppas/9.5/data, but this will vary according to local circumstances.) |
If any rows have "trust" specified for the "METHOD" column, delete the rows or change them to other authentication methods.
Permitted methods in preferred order are: peer (local only), cert, ldap, sspi, pam, md5