Linux Commands Examples

A great documentation place for Linux commands

cracklib-check

Check passwords using libcrack2

Synopsis

cracklib-check


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
crackresult=$( echo $userpass | cracklib-check )
if [[ $crackresult != *OK ]]
then
echo $usermail - $crackresult

description

cracklib-check takes a list of passwords from stdin and checks them via libcrack2’s FascistCheck(3) sub routine.

result

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.


see also

FascistCheck


author

This man page was written by Jan Dittberner <jandd[:at:]debian[:dot:]org> for the Debian GNU/Linux System (but may be used by others).

How can this site be more helpful to YOU ?


give  feedback