added password auth to pipe-connections as well, not just TCP/IP connections
This commit is contained in:
parent
9f1887cc9e
commit
a80f585f5a
1 changed files with 3 additions and 5 deletions
|
@ -85,18 +85,16 @@
|
||||||
# Database administrative login by UNIX sockets
|
# Database administrative login by UNIX sockets
|
||||||
local all postgres ident sameuser
|
local all postgres ident sameuser
|
||||||
#
|
#
|
||||||
# All other connections by UNIX sockets
|
|
||||||
local all all ident sameuser
|
|
||||||
#
|
|
||||||
# All IPv4 connections from localhost
|
# All IPv4 connections from localhost
|
||||||
# The following line was inserted by the livesupport-station package installer
|
# 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
|
# 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 password
|
||||||
#host all all 127.0.0.1 255.255.255.255 ident sameuser
|
#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
|
# 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
|
# reject all other connection attempts
|
||||||
host all all 0.0.0.0 0.0.0.0 reject
|
host all all 0.0.0.0 0.0.0.0 reject
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue