diff options
author | Tomas Mraz <tmraz@fedoraproject.org> | 2012-04-30 15:03:32 +0200 |
---|---|---|
committer | Tomas Mraz <tmraz@fedoraproject.org> | 2012-04-30 15:08:20 +0200 |
commit | 422c19520fb814cfd8edd84d7989f4c52acbfa03 (patch) | |
tree | bd3a6759bd75db54d47e58619fe15326a071af29 /modules/pam_unix/pam_unix_static.c | |
parent | cf9c75be753a3c12fdecb9f4696b8ad1b28dd799 (diff) | |
download | pam-422c19520fb814cfd8edd84d7989f4c52acbfa03.tar.gz pam-422c19520fb814cfd8edd84d7989f4c52acbfa03.tar.bz2 pam-422c19520fb814cfd8edd84d7989f4c52acbfa03.zip |
pam_cracklib: Add maxclassrepeat, gecoscheck checks and remove unused difignore.
modules/pam_cracklib/pam_cracklib.c (_pam_parse): Recognize the maxclassrepeat, gecoscheck options. Ignore difignore option.
(simple): Add the check for the same class repetition.
(usercheck): Refactor into wordcheck().
(gecoscheck): New test for words from the GECOS field.
(password_check): Call the gecoscheck().
(pam_sm_chauthtok): Drop the diff_ignore from options struct.
modules/pam_cracklib/pam_cracklib.8.xml: Document the maxclassrepeat and gecoscheck checks, update the documentation of the difok test.
Diffstat (limited to 'modules/pam_unix/pam_unix_static.c')
0 files changed, 0 insertions, 0 deletions