diff --git a/pg_hba.conf b/pg_hba.conf index 1e464255e..c10dfae09 100644 --- a/pg_hba.conf +++ b/pg_hba.conf @@ -27,18 +27,18 @@ # maintenance (custom daily cronjobs, replication, and similar tasks). # # Database administrative login by Unix domain socket -local all postgres trust +local all postgres md5 # TYPE DATABASE USER ADDRESS METHOD # "local" is for Unix domain socket connections only -local all all trust +local all all md5 # IPv4 local connections: -host all all 127.0.0.1/32 trust +host all all 127.0.0.1/32 md5 # IPv6 local connections: -host all all ::1/128 trust +host all all ::1/128 md5 # Allow replication connections from localhost, by a user with the # replication privilege. -local replication all trust -host replication all 127.0.0.1/32 trust -host replication all ::1/128 trust \ No newline at end of file +local replication all md5 +host replication all 127.0.0.1/32 md5 +host replication all ::1/128 md5