aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2012-02-01 21:18:55 +0200
committerPeter Eisentraut <peter_e@gmx.net>2012-02-01 21:18:55 +0200
commit8a02339e9ba3f2f962c5967be8c5d053a1fa39d2 (patch)
tree843ea3feedb0de9fb405bea4746cfb2cd2370417 /doc/src
parent69f4f1c3576abc535871c6cfa95539e32a36120f (diff)
downloadpostgresql-8a02339e9ba3f2f962c5967be8c5d053a1fa39d2.tar.gz
postgresql-8a02339e9ba3f2f962c5967be8c5d053a1fa39d2.zip
initdb: Add options --auth-local and --auth-host
reviewed by Robert Haas and Pavel Stehule
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/initdb.sgml31
1 files changed, 27 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/initdb.sgml b/doc/src/sgml/ref/initdb.sgml
index d816c21c08c..81f4d58a859 100644
--- a/doc/src/sgml/ref/initdb.sgml
+++ b/doc/src/sgml/ref/initdb.sgml
@@ -118,10 +118,33 @@ PostgreSQL documentation
<term><option>--auth=<replaceable class="parameter">authmethod</replaceable></option></term>
<listitem>
<para>
- This option specifies the authentication method for local users
- used in <filename>pg_hba.conf</>. Do not use <literal>trust</>
- unless you trust all local users on your system. <literal>Trust</>
- is the default for ease of installation.
+ This option specifies the authentication method for local users used
+ in <filename>pg_hba.conf</> (<literal>host</literal>
+ and <literal>local</literal> lines). Do not use <literal>trust</>
+ unless you trust all local users on your system. <literal>trust</> is
+ the default for ease of installation.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>--auth-host=<replaceable class="parameter">authmethod</replaceable></option></term>
+ <listitem>
+ <para>
+ This option specifies the authentication method for local users via
+ TCP/IP connections used in <filename>pg_hba.conf</>
+ (<literal>host</literal> lines).
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>--auth-local=<replaceable class="parameter">authmethod</replaceable></option></term>
+ <listitem>
+ <para>
+ This option specifies the authentication method for local users via
+ Unix-domain socket connections used in <filename>pg_hba.conf</>
+ (<literal>local</literal> lines).
</para>
</listitem>
</varlistentry>