Check passwords using libcrack2
cracklib-check
cracklib-check takes a list of passwords from stdin and checks them via libcrack2's FascistCheck(3) sub routine.
cracklib-check prints each checked password and the corresponding result of FascistCheck(3) to stdout. The password and the result are separated by a colon.
This man page was written by Jan Dittberner <[email protected]> for the Debian GNU/Linux System (but may be used by others).