From f35252de28543ca32109e853108c2c8f2e5525a3 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 20 Feb 2001 01:16:49 +0000 Subject: Fix pg_passwd's failure to cope with usernames > 8 chars. --- doc/src/sgml/ref/pg_passwd.sgml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'doc/src') 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 @@ @@ -31,7 +31,7 @@ Postgres documentation pg_passwd 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 PostgreSQL server. More information about setting up this authentication mechanism can be found in the Administrator's Guide. @@ -51,7 +51,7 @@ Postgres documentation Supply the name of the password file as argument to the pg_passwd 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 pg_hba.conf access control file. @@ -65,7 +65,9 @@ Postgres documentation where the Password: and Re-enter password: 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. @@ -78,12 +80,12 @@ Postgres documentation pg_hba.conf: -host unv 133.65.96.250 255.255.255.255 password passwords +host mydb 133.65.96.250 255.255.255.255 password passwords - which would allow access from host 133.65.96.250 using the - passwords listed in the passwords 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 passwords file (and + only to the users listed in that file). -- cgit v1.2.3