This file is indexed.

/usr/share/doc/dbconfig-common/README.pgsql is in dbconfig-common 2.0.8.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Helpful information for users who are using postgresql databases.

AUTHENTICATION METHODS

Postgres supports many types of authentication methods. dbconfig-common
currently classifies them into two families: "ident", and "password".  The
former consists of local "peer" and remote postgresql "ident" type connections.
and the latter consists of all the postgresql connections that require a
password (password, crypt, md5, maybe pam/krb5).

For "ident" (=peer) connections on a local host, the server will check that the
owner of the local unix socket is authorized to connect to the database.

For "ident" connections on a remote host, the server will use an rfc 1413 based
ident connection to establish identification. This is probably a bad idea, as
ident is easily spoofable in non-secured networks.

For "password" connections, the psql client will send along passwords with its
connection attempts to the server. The server will then pass the password to
whatever authentication backends it's configured to use. Note that
dbconfig-common has no control over whether or not the password is sent
cleartext over the network (see USING SSL), so you should be aware of the
security risks involved with network based connections.

USING SSL

You must also configure your server to use SSL, which is beyond the scope of
this document. See:

http://developer.postgresql.org/docs/postgres/ssl-tcp.html

for directions on how to do that.