diff --git a/livesupport/etc/pg_hba.conf b/livesupport/etc/pg_hba.conf index acb3e0534..a09def595 100644 --- a/livesupport/etc/pg_hba.conf +++ b/livesupport/etc/pg_hba.conf @@ -85,18 +85,16 @@ # Database administrative login by UNIX sockets local all postgres ident sameuser # -# All other connections by UNIX sockets -local all all ident sameuser -# # All IPv4 connections from localhost # The following line was inserted by the livesupport-station package installer # the original pg_hba.conf file is saved under pg_hba.conf.before-livesupport host all all 127.0.0.1 255.255.255.255 password #host all all 127.0.0.1 255.255.255.255 ident sameuser # +# All other connections by UNIX sockets +local all all password +# # All IPv6 localhost connections -host all all ::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ident sameuser -host all all ::ffff:127.0.0.1/128 ident sameuser # # reject all other connection attempts host all all 0.0.0.0 0.0.0.0 reject