|
7 | 7 | #
|
8 | 8 | # This file controls: which hosts are allowed to connect, how clients
|
9 | 9 | # are authenticated, which PostgreSQL user names they can use, which
|
10 |
| -# databases they can access. Records take one of seven forms: |
| 10 | +# databases they can access. Records take one of these forms: |
11 | 11 | #
|
12 | 12 | # local DATABASE USER METHOD [OPTION]
|
13 | 13 | # host DATABASE USER CIDR-ADDRESS METHOD [OPTION]
|
14 | 14 | # hostssl DATABASE USER CIDR-ADDRESS METHOD [OPTION]
|
15 | 15 | # hostnossl DATABASE USER CIDR-ADDRESS METHOD [OPTION]
|
16 | 16 | #
|
17 |
| -# (The uppercase quantities should be replaced by actual values.) |
| 17 | +# (The uppercase items must be replaced by actual values.) |
| 18 | +# |
18 | 19 | # The first field is the connection type: "local" is a Unix-domain socket,
|
19 | 20 | # "host" is either a plain or SSL-encrypted TCP/IP socket, "hostssl" is an
|
20 | 21 | # SSL-encrypted TCP/IP socket, and "hostnossl" is a plain TCP/IP socket.
|
21 |
| -# DATABASE can be "all", "sameuser", "samegroup", a database name (or |
22 |
| -# a comma-separated list thereof), or a file name prefixed with "@". |
23 |
| -# USER can be "all", an actual user name or a group name prefixed with |
24 |
| -# "+" or a list containing either. |
| 22 | +# |
| 23 | +# DATABASE can be "all", "sameuser", "samegroup", a database name, or |
| 24 | +# a comma-separated list thereof. |
| 25 | +# |
| 26 | +# USER can be "all", a user name, a group name prefixed with "+", or |
| 27 | +# a comma-separated list thereof. In both the DATABASE and USER fields |
| 28 | +# you can also write a file name prefixed with "@" to include names from |
| 29 | +# a separate file. |
25 | 30 | #
|
26 | 31 | # CIDR-ADDRESS specifies the set of hosts the record matches.
|
27 |
| -# It is made up of an IP address and a CIDR mask that is an integer |
28 |
| -# (between 0 and 32 (IPv6) or 128(IPv6) inclusive) that specifies |
29 |
| -# the number of significant bits in the mask Also, you can use a |
30 |
| -# separate IP address and netmask to specify the set of hosts. |
| 32 | +# It is made up of an IP address and a CIDR mask that is an integer |
| 33 | +# (between 0 and 32 (IPv6) or 128(IPv6) inclusive) that specifies |
| 34 | +# the number of significant bits in the mask. Alternatively, you can write |
| 35 | +# an IP address and netmask in separate columns to specify the set of hosts. |
| 36 | +# |
| 37 | +# METHOD can be "trust", "reject", "md5", "crypt", "password", |
| 38 | +# "krb4", "krb5", "ident", or "pam". Note that "password" sends passwords |
| 39 | +# in clear text; "md5" is preferred since it sends encrypted passwords. |
31 | 40 | #
|
32 |
| -# METHOD can be "trust", "reject", "md5", "crypt", "password", |
33 |
| -# "krb4", "krb5", "ident", or "pam". Note that "password" uses |
34 |
| -# clear-text passwords; "md5" is preferred for encrypted passwords. |
35 |
| -# OPTION is the ident map or the name of the PAM service. |
| 41 | +# OPTION is the ident map or the name of the PAM service, depending on METHOD. |
36 | 42 | #
|
37 | 43 | # Database and user names containing spaces, commas, quotes and other special
|
38 |
| -# characters can be quoted. Quoting one of the keywords "all", "sameuser" or |
39 |
| -# "samegroup" makes the name lose its special character, and just match a |
| 44 | +# characters must be quoted. Quoting one of the keywords "all", "sameuser" or |
| 45 | +# "samegroup" makes the name lose its special character, and just match a |
40 | 46 | # database or username with that name.
|
41 | 47 | #
|
42 | 48 | # This file is read on server startup and when the postmaster receives
|
43 | 49 | # a SIGHUP signal. If you edit the file on a running system, you have
|
44 |
| -# to SIGHUP the postmaster for the changes to take effect, or use |
45 |
| -# "pg_ctl reload". |
| 50 | +# to SIGHUP the postmaster for the changes to take effect. You can use |
| 51 | +# "pg_ctl reload" to do that. |
46 | 52 |
|
47 | 53 | # Put your actual configuration here
|
48 | 54 | # ----------------------------------
|
49 | 55 | #
|
50 | 56 | # If you want to allow non-local connections, you need to add more
|
51 | 57 | # "host" records. In that case you will also need to make PostgreSQL listen
|
52 |
| -# on a non-local interface via the listen_addresses configuration parameter, or |
53 |
| -# the -i or -h command line switches. |
| 58 | +# on a non-local interface via the listen_addresses configuration parameter, |
| 59 | +# or via the -i or -h command line switches. |
54 | 60 | #
|
55 | 61 |
|
56 | 62 | @authcomment@
|
|
0 commit comments