Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit82e2fe9

Browse files
committed
Clean up pg_hba.conf
1 parentba1578a commit82e2fe9

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 MASKUSERAUTH MAP
114114

115-
#host all 127.0.0.1255.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.0255.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.255reject
127+
#host all 0.0.0.0 0.0.0.0trust
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.0ident 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 alltrust
143+
host all 127.0.0.1 255.255.255.255trust

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp