Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7bcc2da

Browse files
committed
Clean up pg_hba.conf
1 parent b2d7c58 commit 7bcc2da

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/backend/libpq/pg_hba.conf.sample

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
#
4040
# host DBNAME IP_ADDRESS ADDRESS_MASK USERAUTH [AUTH_ARGUMENT]
4141
#
42-
# DBNAME is the name of a Postgres database, or "all" to indicate all
42+
# DBNAME is the name of a PostgreSQL database, or "all" to indicate all
4343
# databases.
4444
#
4545
# IP_ADDRESS and ADDRESS_MASK are a standard dotted decimal IP address and
@@ -48,25 +48,25 @@
4848
#
4949
# USERAUTH is a keyword indicating the method used to authenticate the
5050
# user, i.e. to determine that the principal is authorized to connect
51-
# under the Postgres username he supplies in his connection parameters.
51+
# under the PostgreSQL username he supplies in his connection parameters.
5252
#
5353
# ident: Authentication is done by the ident server on the remote
5454
# host, via the ident (RFC 1413) protocol. AUTH_ARGUMENT, if
5555
# specified, is a map name to be found in the pg_ident.conf file.
56-
# That table maps from ident usernames to Postgres usernames. The
56+
# That table maps from ident usernames to PostgreSQL usernames. The
5757
# special map name "sameuser" indicates an implied map (not found
5858
# in pg_ident.conf) that maps every ident username to the identical
59-
# Postgres username.
59+
# PostgreSQL username.
6060
#
6161
# trust: No authentication is done. Trust that the user has the
62-
# authority to user whatever username he says he does.
63-
# Before Postgres Version 6, all authentication was this way.
62+
# authority to use whatever username he specifies. Before
63+
# PostgreSQL version 6, all authentication was done this way.
6464
#
6565
# reject: Reject the connection.
6666
#
6767
# password: Authentication is done by matching a password supplied in clear
68-
# by the host. If AUTH_ARGUMENT is specified then the password is
69-
# compared with the user's entry in that file (in the $PGDATA
68+
# by the host. If AUTH_ARGUMENT is specified then the password
69+
# is compared with the user's entry in that file (in the $PGDATA
7070
# directory). See pg_passwd(1). If it is omitted then the
7171
# password is compared with the user's entry in the pg_shadow
7272
# table.
@@ -90,9 +90,9 @@
9090
#
9191
# The format is the same as that of the "host" record type except that the
9292
# IP_ADDRESS and ADDRESS_MASK are omitted and the "ident", "krb4" and "krb5"
93-
# values of USERAUTH are no allowed.
93+
# values of USERAUTH are not allowed.
9494

95-
# For backwards compatibility, PostgreSQL also accepts pre-Version 6 records,
95+
# For backwards compatibility, PostgreSQL also accepts pre-version 6 records,
9696
# which look like:
9797
#
9898
# all 127.0.0.1 0.0.0.0
@@ -119,8 +119,8 @@
119119
#host all 192.168.0.0 255.255.255.0 ident omicron
120120
#
121121
# The above would allow users from 192.168.0.x hosts to connect to any
122-
# database, but if e.g. Ident says the user is "bryanh" and he requests to
123-
# connect as Postgres user "guest1", the connection is only allowed if
122+
# database, but if Ident says the user is "bryanh" and he requests to
123+
# connect as PostgreSQL user "guest1", the connection is only allowed if
124124
# there is an entry for map "omicron" in pg_ident.conf that says "bryanh" is
125125
# allowed to connect as "guest1".
126126

0 commit comments

Comments
 (0)