aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postgresql/templates/pg_hba.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/postgresql/templates/pg_hba.conf')
-rw-r--r--modules/postgresql/templates/pg_hba.conf9
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/postgresql/templates/pg_hba.conf b/modules/postgresql/templates/pg_hba.conf
index 60c9d958..fa53ba31 100644
--- a/modules/postgresql/templates/pg_hba.conf
+++ b/modules/postgresql/templates/pg_hba.conf
@@ -77,8 +77,11 @@
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
-local all all trust
+local all all ident
# IPv4 local connections:
-host all all 127.0.0.1/32 trust
+host all all 127.0.0.1/32 pam
# IPv6 local connections:
-host all all ::1/128 trust
+host all all ::1/128 pam
+
+host all all 0.0.0.0/0 pam
+host all all ::0/0 pam