diff --new-file -c -r postgresql-8.5.orig/doc/src/sgml/contrib.sgml postgresql-8.5/doc/src/sgml/contrib.sgml *** postgresql-8.5.orig/doc/src/sgml/contrib.sgml 2009-11-16 11:31:13.000000000 +0100 --- postgresql-8.5/doc/src/sgml/contrib.sgml 2009-11-16 11:34:04.000000000 +0100 *************** *** 98,103 **** --- 98,104 ---- <ree; &oid2name; &pageinspect; + &passwordcheck; &pgbench; &pgbuffercache; &pgcrypto; diff --new-file -c -r postgresql-8.5.orig/doc/src/sgml/filelist.sgml postgresql-8.5/doc/src/sgml/filelist.sgml *** postgresql-8.5.orig/doc/src/sgml/filelist.sgml 2009-11-16 11:31:14.000000000 +0100 --- postgresql-8.5/doc/src/sgml/filelist.sgml 2009-11-16 11:34:04.000000000 +0100 *************** *** 111,116 **** --- 111,117 ---- + diff --new-file -c -r postgresql-8.5.orig/doc/src/sgml/passwordcheck.sgml postgresql-8.5/doc/src/sgml/passwordcheck.sgml *** postgresql-8.5.orig/doc/src/sgml/passwordcheck.sgml 1970-01-01 01:00:00.000000000 +0100 --- postgresql-8.5/doc/src/sgml/passwordcheck.sgml 2009-11-16 11:34:04.000000000 +0100 *************** *** 0 **** --- 1,49 ---- + + passwordcheck + + + passwordcheck + + + + The passwordcheck module checks passwords set with + or + . + If a password is considered too weak, it will be rejected and + the command will terminate with error. + + + + To enable this module, add '$libdir/passwordcheck.so' + to shared_preload_libraries in + postgresql.conf and restart the server. + + + + + To prevent unencrypted passwords from being sent across the network, + written to the server log or otherwise stolen by a database administrator, + PostgreSQL allows the user to supply + pre-encrypted passwords. Many client programs make use of this + functionality and encrypt the password before sending it to the server. + + + This limits the usefulness of the passwordcheck + module, because in that case it can only try to guess the password. + For this reason, passwordcheck is not + commendable if your security requirements are high. You should use + an external authentication method in that case + (see ). + + + + + You can adapt this module to your needs by changing the source code. + For example, you can use + CrackLib + to check unencrypted passwords - this can be done by uncommenting + two lines in the Makefile and rebuilding the + module. We cannot include CrackLib + by default for license reasons. + +