summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTomas Mraz <tmraz@redhat.com>2016-10-31 10:36:07 +0100
committerTomas Mraz <tmraz@redhat.com>2016-10-31 10:36:07 +0100
commitdf472befdc08b076bf1f2a863cb73801727ded80 (patch)
treeb5abf752b1dd6c5a1021a28a6e75d3c8ee9a7cab /doc
parent42dbacce20fb8e1628a2bb99517d4cccda1256a2 (diff)
downloadlibpwquality-df472befdc08b076bf1f2a863cb73801727ded80.tar.gz
Make the user check optional.
Diffstat (limited to 'doc')
-rw-r--r--doc/man/pam_pwquality.8.pod7
-rw-r--r--doc/man/pwquality.conf.5.pod6
2 files changed, 13 insertions, 0 deletions
diff --git a/doc/man/pam_pwquality.8.pod b/doc/man/pam_pwquality.8.pod
index 2d258bf..6b115f8 100644
--- a/doc/man/pam_pwquality.8.pod
+++ b/doc/man/pam_pwquality.8.pod
@@ -195,6 +195,13 @@ matches a word in a dictionary. Currently the dictionary check is performed
using the I<cracklib> library. The default is 1 which means that this check
is enabled.
+=item B<usercheck=>I<N>
+
+If nonzero, check whether the password (with possible modifications)
+contains the user name in some form. The default is 1 which means that
+this check is enabled. It is not performed for user names shorter
+than 3 characters.
+
=item B<badwords=>I<< <list of words> >>
The words more than 3 characters long from this space separated list are
diff --git a/doc/man/pwquality.conf.5.pod b/doc/man/pwquality.conf.5.pod
index 94e61b6..ad558f6 100644
--- a/doc/man/pwquality.conf.5.pod
+++ b/doc/man/pwquality.conf.5.pod
@@ -101,6 +101,12 @@ If nonzero, check whether the password (with possible modifications)
matches a word in a dictionary. Currently the dictionary check is performed
using the cracklib library. (default 1)
+=item B<usercheck=>I<N>
+
+If nonzero, check whether the password (with possible modifications)
+contains the user name in some form. It is not performed for user names shorter
+than 3 characters. (default 1)
+
=item B<badwords>
Space separated list of words that must not be contained in the password. These