aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-02-20 01:16:49 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-02-20 01:16:49 +0000
commitf35252de28543ca32109e853108c2c8f2e5525a3 (patch)
tree1ea40e3b6c35b6fc4ef8035c45663d475c198d4b /doc/src
parenta24b04de88b8f1e6a6b003a66b4f69ecd6793d29 (diff)
downloadpostgresql-f35252de28543ca32109e853108c2c8f2e5525a3.tar.gz
postgresql-f35252de28543ca32109e853108c2c8f2e5525a3.zip
Fix pg_passwd's failure to cope with usernames > 8 chars.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/pg_passwd.sgml18
1 files changed, 10 insertions, 8 deletions
diff --git a/doc/src/sgml/ref/pg_passwd.sgml b/doc/src/sgml/ref/pg_passwd.sgml
index 08b9a243058..589ba186412 100644
--- a/doc/src/sgml/ref/pg_passwd.sgml
+++ b/doc/src/sgml/ref/pg_passwd.sgml
@@ -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>