mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Fix pg_passwd's failure to cope with usernames > 8 chars.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pg_passwd.sgml,v 1.5 2000/12/25 23:15:26 petere Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pg_passwd.sgml,v 1.6 2001/02/20 01:16:49 tgl Exp $
|
||||
Postgres documentation
|
||||
-->
|
||||
|
||||
@ -31,7 +31,7 @@ Postgres documentation
|
||||
<para>
|
||||
<application>pg_passwd</application> is a tool to manipulate a flat
|
||||
text password file for the purpose of using that file to control
|
||||
the client authentication of the
|
||||
client authentication of the
|
||||
<productname>PostgreSQL</productname> server. More information
|
||||
about setting up this authentication mechanism can be found in the
|
||||
<citetitle>Administrator's Guide</citetitle>.
|
||||
@ -51,7 +51,7 @@ Postgres documentation
|
||||
<para>
|
||||
Supply the name of the password file as argument to the <application>pg_passwd</application>
|
||||
command. To be of use for client authentication the file needs to
|
||||
be location in the server's data directory, and the base name of
|
||||
be located in the server's data directory, and the base name of
|
||||
the file needs to be specified in the
|
||||
<filename>pg_hba.conf</filename> access control file.
|
||||
|
||||
@ -65,7 +65,9 @@ Postgres documentation
|
||||
|
||||
where the <literal>Password:</literal> and <literal>Re-enter
|
||||
password:</literal> prompts require the same password input which
|
||||
is not displayed on the terminal.
|
||||
is not displayed on the terminal. Note that the password is limited
|
||||
to eight useful characters by restrictions of the standard crypt(3)
|
||||
library routine.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
@ -78,12 +80,12 @@ Postgres documentation
|
||||
<filename>pg_hba.conf</filename>:
|
||||
|
||||
<programlisting>
|
||||
host unv 133.65.96.250 255.255.255.255 password passwords
|
||||
host mydb 133.65.96.250 255.255.255.255 password passwords
|
||||
</programlisting>
|
||||
|
||||
which would allow access from host 133.65.96.250 using the
|
||||
passwords listed in the <filename>passwords</filename> file (and
|
||||
only to the users listed in the file).
|
||||
which would allow access to database mydb from host 133.65.96.250 using
|
||||
the passwords listed in the <filename>passwords</filename> file (and
|
||||
only to the users listed in that file).
|
||||
</para>
|
||||
|
||||
<note>
|
||||
|
Reference in New Issue
Block a user