Skip to content

Commit 82e2fe9

Browse files
committed
Clean up pg_hba.conf
1 parent ba1578a commit 82e2fe9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/backend/libpq/pg_hba.conf.sample

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,26 +110,26 @@
110110
#
111111
# all 127.0.0.1 0.0.0.0
112112

113-
# TYPE DATABASE IP_ADDRESS MASK USERAUTH MAP
113+
# TYPE DATABASE IP_ADDRESS MASK USERAUTH MAP
114114

115-
#host all 127.0.0.1 255.255.255.255 trust
115+
#host all 127.0.0.1 255.255.255.255 trust
116116

117117
# The above allows any user on the local system to connect to any database
118118
# under any username.
119119

120-
#host template1 192.168.93.0 255.255.255.0 ident sameuser
120+
#host template1 192.168.93.0 255.255.255.0 ident sameuser
121121

122122
# The above allows any user from any host with IP address 192.168.93.x to
123123
# connect to database template1 as the same username that ident on that host
124124
# identifies him as (typically his Unix username).
125125

126-
#host all 192.168.54.1 255.255.255.255 reject
127-
#host all 0.0.0.0 0.0.0.0 trust
126+
#host all 192.168.54.1 255.255.255.255 reject
127+
#host all 0.0.0.0 0.0.0.0 trust
128128

129129
# The above would allow anyone anywhere except from 192.168.54.1 to connect to
130130
# any database under any username.
131131

132-
#host all 192.168.77.0 255.255.255.0 ident omicron
132+
#host all 192.168.77.0 255.255.255.0 ident omicron
133133
#
134134
# The above would allow users from 192.168.77.x hosts to connect to any
135135
# database, but if Ident says the user is "bryanh" and he requests to
@@ -139,5 +139,5 @@
139139

140140
# By default, allow anything over UNIX domain sockets and localhost.
141141

142-
local all trust
143-
host all 127.0.0.1 255.255.255.255 trust
142+
local all trust
143+
host all 127.0.0.1 255.255.255.255 trust

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy