From f97d55b623cd851283a42b9807292ce751029218 Mon Sep 17 00:00:00 2001 From: "Andrew G. Morgan" Date: Sun, 24 Jun 2001 22:54:05 +0000 Subject: Relevant BUGIDs: 413162 Purpose of commit: new feature Commit summary: --------------- pam_cracklib enhancements to make use of negative limits. Werner Puschitz gets brownie points for submitting documentation to match! --- doc/modules/pam_cracklib.sgml | 57 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 48 insertions(+), 9 deletions(-) (limited to 'doc') diff --git a/doc/modules/pam_cracklib.sgml b/doc/modules/pam_cracklib.sgml index 97b284de..061a8a21 100644 --- a/doc/modules/pam_cracklib.sgml +++ b/doc/modules/pam_cracklib.sgml @@ -169,8 +169,9 @@ are different then the new password will be accepted anyway. other, upper, lower and = 0) This is the maximum credit for having digits in the new password. If you have less than or = 0) This is the maximum credit for having upper case letters in the new password. If you have less than or = 0) This is the maximum credit for having lower case letters in the new password. If you have less than or = 0) This is the maximum credit for having other characters in the new password. If you have less than or +

+And here is another example in case you don't want to use credits: + + +#%PAM-1.0 +# +# These lines require the user to select a password with a minimum +# length of 8 and with at least 1 digit number, 1 upper case letter, +# and 1 other character +# +password required pam_cracklib.so \ + dcredit=-1 ucredit=-1 ocredit=-1 lcredit=0 minlen=8 +password required pam_pwdb.so use_authtok nullok md5 + + + +

+In this example we simply say that the password must have a minimum +length of 8: + + +#%PAM-1.0 +# +# These lines require the user to select a password with a mimimum +# length of 8. He gets no credits and he is not forced to use +# digit numbers, upper case letters etc. +# +password required pam_cracklib.so \ + dcredit=0 ucredit=0 ocredit=0 lcredit=0 minlen=8 +password required pam_pwdb.so use_authtok nullok md5 + + +