use md5 in pg_hba
parent
8e81cbf36e
commit
989a2c4aa2
14
pg_hba.conf
14
pg_hba.conf
|
@ -27,18 +27,18 @@
|
||||||
# maintenance (custom daily cronjobs, replication, and similar tasks).
|
# maintenance (custom daily cronjobs, replication, and similar tasks).
|
||||||
#
|
#
|
||||||
# Database administrative login by Unix domain socket
|
# Database administrative login by Unix domain socket
|
||||||
local all postgres trust
|
local all postgres md5
|
||||||
|
|
||||||
# TYPE DATABASE USER ADDRESS METHOD
|
# TYPE DATABASE USER ADDRESS METHOD
|
||||||
|
|
||||||
# "local" is for Unix domain socket connections only
|
# "local" is for Unix domain socket connections only
|
||||||
local all all trust
|
local all all md5
|
||||||
# IPv4 local connections:
|
# IPv4 local connections:
|
||||||
host all all 127.0.0.1/32 trust
|
host all all 127.0.0.1/32 md5
|
||||||
# IPv6 local connections:
|
# 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
|
# Allow replication connections from localhost, by a user with the
|
||||||
# replication privilege.
|
# replication privilege.
|
||||||
local replication all trust
|
local replication all md5
|
||||||
host replication all 127.0.0.1/32 trust
|
host replication all 127.0.0.1/32 md5
|
||||||
host replication all ::1/128 trust
|
host replication all ::1/128 md5
|
||||||
|
|
Loading…
Reference in New Issue