From 989a2c4aa2369ca774dee24f7006ebc5d3138279 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 13 Mar 2023 19:01:57 +0200 Subject: [PATCH] use md5 in pg_hba --- pg_hba.conf | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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