Commit 82e2fe9c authored by Bruce Momjian's avatar Bruce Momjian

Clean up pg_hba.conf

parent ba1578aa
...@@ -110,26 +110,26 @@ ...@@ -110,26 +110,26 @@
# #
# all 127.0.0.1 0.0.0.0 # all 127.0.0.1 0.0.0.0
# TYPE DATABASE IP_ADDRESS MASK USERAUTH MAP # TYPE DATABASE IP_ADDRESS MASK USERAUTH MAP
#host all 127.0.0.1 255.255.255.255 trust #host all 127.0.0.1 255.255.255.255 trust
# The above allows any user on the local system to connect to any database # The above allows any user on the local system to connect to any database
# under any username. # under any username.
#host template1 192.168.93.0 255.255.255.0 ident sameuser #host template1 192.168.93.0 255.255.255.0 ident sameuser
# The above allows any user from any host with IP address 192.168.93.x to # The above allows any user from any host with IP address 192.168.93.x to
# connect to database template1 as the same username that ident on that host # connect to database template1 as the same username that ident on that host
# identifies him as (typically his Unix username). # identifies him as (typically his Unix username).
#host all 192.168.54.1 255.255.255.255 reject #host all 192.168.54.1 255.255.255.255 reject
#host all 0.0.0.0 0.0.0.0 trust #host all 0.0.0.0 0.0.0.0 trust
# The above would allow anyone anywhere except from 192.168.54.1 to connect to # The above would allow anyone anywhere except from 192.168.54.1 to connect to
# any database under any username. # any database under any username.
#host all 192.168.77.0 255.255.255.0 ident omicron #host all 192.168.77.0 255.255.255.0 ident omicron
# #
# The above would allow users from 192.168.77.x hosts to connect to any # The above would allow users from 192.168.77.x hosts to connect to any
# database, but if Ident says the user is "bryanh" and he requests to # database, but if Ident says the user is "bryanh" and he requests to
...@@ -139,5 +139,5 @@ ...@@ -139,5 +139,5 @@
# By default, allow anything over UNIX domain sockets and localhost. # By default, allow anything over UNIX domain sockets and localhost.
local all trust local all trust
host all 127.0.0.1 255.255.255.255 trust host all 127.0.0.1 255.255.255.255 trust
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment