Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
83521131
Commit
83521131
authored
Aug 16, 2002
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
This patch improves the "Client Authentication" section of the user's
guide in a few minor ways. Neil Conway
parent
b4794bfb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
18 deletions
+23
-18
doc/src/sgml/client-auth.sgml
doc/src/sgml/client-auth.sgml
+23
-18
No files found.
doc/src/sgml/client-auth.sgml
View file @
83521131
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/client-auth.sgml,v 1.3
5 2002/04/09 00:38:24
momjian Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/client-auth.sgml,v 1.3
6 2002/08/16 04:48:16
momjian Exp $
-->
-->
<chapter id="client-authentication">
<chapter id="client-authentication">
...
@@ -29,8 +29,9 @@ $Header: /cvsroot/pgsql/doc/src/sgml/client-auth.sgml,v 1.35 2002/04/09 00:38:24
...
@@ -29,8 +29,9 @@ $Header: /cvsroot/pgsql/doc/src/sgml/client-auth.sgml,v 1.35 2002/04/09 00:38:24
<para>
<para>
<productname>PostgreSQL</productname> offers a number of different
<productname>PostgreSQL</productname> offers a number of different
client authentication methods. The method to be used can be selected
client authentication methods. The method used to authenticate a
on the basis of (client) host, database, and user.
particular client connection can be selected on the basis of
(client) host address, database, and user.
</para>
</para>
<para>
<para>
...
@@ -56,8 +57,8 @@ $Header: /cvsroot/pgsql/doc/src/sgml/client-auth.sgml,v 1.35 2002/04/09 00:38:24
...
@@ -56,8 +57,8 @@ $Header: /cvsroot/pgsql/doc/src/sgml/client-auth.sgml,v 1.35 2002/04/09 00:38:24
<filename>pg_hba.conf</filename> in the data directory, e.g.,
<filename>pg_hba.conf</filename> in the data directory, e.g.,
<filename>/usr/local/pgsql/data/pg_hba.conf</filename>.
<filename>/usr/local/pgsql/data/pg_hba.conf</filename>.
(<acronym>HBA</> stands for host-based authentication.) A default
(<acronym>HBA</> stands for host-based authentication.) A default
<filename>pg_hba.conf</filename> file is installed when the data
area
<filename>pg_hba.conf</filename> file is installed when the data
is initialized by <command>initdb</command>.
directory
is initialized by <command>initdb</command>.
</para>
</para>
<para>
<para>
...
@@ -124,7 +125,7 @@ hostssl <replaceable>database</replaceable> <replaceable>user</replaceable> <rep
...
@@ -124,7 +125,7 @@ hostssl <replaceable>database</replaceable> <replaceable>user</replaceable> <rep
enabled with the <option>-l</> option or equivalent configuration
enabled with the <option>-l</> option or equivalent configuration
setting when the server is started. (Note: <literal>host</literal>
setting when the server is started. (Note: <literal>host</literal>
records will match either SSL or non-SSL connection attempts, but
records will match either SSL or non-SSL connection attempts, but
<literal>hostssl</literal> records require
s
SSL connections.)
<literal>hostssl</literal> records require SSL connections.)
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
@@ -199,9 +200,11 @@ hostssl <replaceable>database</replaceable> <replaceable>user</replaceable> <rep
...
@@ -199,9 +200,11 @@ hostssl <replaceable>database</replaceable> <replaceable>user</replaceable> <rep
<term><literal>trust</></term>
<term><literal>trust</></term>
<listitem>
<listitem>
<para>
<para>
The connection is allowed unconditionally. This method allows
The connection is allowed unconditionally. This method
any user that has login access to the client host to connect as
allows anyone that can connect to the
any <productname>PostgreSQL</productname> user whatsoever.
<productname>PostgreSQL</productname> database to login as
any <productname>PostgreSQL</productname> user they like,
without the need for a password.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
@@ -222,7 +225,7 @@ hostssl <replaceable>database</replaceable> <replaceable>user</replaceable> <rep
...
@@ -222,7 +225,7 @@ hostssl <replaceable>database</replaceable> <replaceable>user</replaceable> <rep
<para>
<para>
Requires the client to supply an MD5 encrypted password for
Requires the client to supply an MD5 encrypted password for
authentication. This is the only method that allows encrypted
authentication. This is the only method that allows encrypted
passwords to be stored in
pg_shadow
.
passwords to be stored in
<structname>pg_shadow</structname>
.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
@@ -273,15 +276,17 @@ hostssl <replaceable>database</replaceable> <replaceable>user</replaceable> <rep
...
@@ -273,15 +276,17 @@ hostssl <replaceable>database</replaceable> <replaceable>user</replaceable> <rep
<listitem>
<listitem>
<para>
<para>
For TCP/IP connections, authentication is done by contacting
For TCP/IP connections, authentication is done by contacting
the <firstterm>ident</firstterm> server on the client host.
the <firstterm>ident</firstterm> server on the client
This is only as secure as the client machine. You must specify
host. This is only as secure as the client machine. You must
the map name after the 'ident' keyword. It determines how to
specify the map name after the 'ident' keyword. It
map remote user names to PostgreSQL user names. If you use
determines how to map remote user names to
<productname>PostgreSQL</productname> user names. If you use
"sameuser", the user names are assumed to be identical. If
"sameuser", the user names are assumed to be identical. If
not, the map name is looked up in the $PGDATA/pg_ident.conf
not, the map name is looked up in the $PGDATA/pg_ident.conf
file. The connection is accepted if that file contains an
file. The connection is accepted if that file contains an
entry for this map name with the ident-supplied user name and
entry for this map name with the ident-supplied user name
the requested PostgreSQL user name.
and the requested <productname>PostgreSQL</productname> user
name.
</para>
</para>
<para>
<para>
On machines that support unix-domain socket credentials
On machines that support unix-domain socket credentials
...
@@ -317,8 +322,8 @@ hostssl <replaceable>database</replaceable> <replaceable>user</replaceable> <rep
...
@@ -317,8 +322,8 @@ hostssl <replaceable>database</replaceable> <replaceable>user</replaceable> <rep
<literal>postgresql</literal>. You can optionally supply you
<literal>postgresql</literal>. You can optionally supply you
own service name after the <literal>pam</> keyword in the
own service name after the <literal>pam</> keyword in the
file. For more information about PAM, please read the <ulink
file. For more information about PAM, please read the <ulink
url="http://www.kernel.org/pub/linux/libs/pam/"><productname>L
url="http://www.kernel.org/pub/linux/libs/pam/"><productname>L
inux-PAM</>
inux-PAM</productname>
Page</ulink> and the <ulink
Page</ulink> and the <ulink
url="http://www.sun.com/software/solaris/pam/"><systemitem
url="http://www.sun.com/software/solaris/pam/"><systemitem
class="osname">Solaris</> PAM Page</ulink>.
class="osname">Solaris</> PAM Page</ulink>.
</para>
</para>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment