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

Commitba1578a

Browse files
committed
Improve pg_hba.conf examples
1 parentb71761d commitba1578a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎src/backend/libpq/pg_hba.conf.sample

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,21 +117,21 @@
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.0.0 255.255.255.0 ident sameuser
120+
#host template1 192.168.93.0 255.255.255.0 ident sameuser
121121

122-
# The above allows any user from any host with IP address 192.168.0.x to
122+
# 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.0.1 255.255.255.255 reject
126+
#host all 192.168.54.1 255.255.255.255 reject
127127
#host all 0.0.0.0 0.0.0.0 trust
128128

129-
# The above would allow anyone anywhere except from 192.168.0.1 to connect to
129+
# 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.0.0 255.255.255.0 ident omicron
132+
#host all 192.168.77.0 255.255.255.0 ident omicron
133133
#
134-
# The above would allow users from 192.168.0.x hosts to connect to any
134+
# 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
136136
# connect as PostgreSQL user "guest1", the connection is only allowed if
137137
# there is an entry for map "omicron" in pg_ident.conf that says "bryanh" is

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp