Hello,
the attached patch provides a new option max_sequels for pam_cracklib
that checks for maximum length of a monotonic character sequence in the
new password such as 123456 or abcdef... The check is off by default.
If the feature and the patch is ok for you I'll add appropriate
documentation of it to pam_cracklib manpage and commit.
--
Tomas Mraz
No matter how far down the wrong road you've gone, turn back.
Turkish proverb