Skip to content

Instantly share code, notes, and snippets.

@nirbhayc
Created June 20, 2017 21:12
Show Gist options
  • Save nirbhayc/e2493ce351c5beb642a99d3706f48821 to your computer and use it in GitHub Desktop.
Save nirbhayc/e2493ce351c5beb642a99d3706f48821 to your computer and use it in GitHub Desktop.
(Blog) cracklib-check demo
$ echo "nirbhay" | cracklib-check
nirbhay: it is based on your username
$ echo "password" | cracklib-check
password: it is based on a dictionary word
$ echo "qwerty" | cracklib-check
qwerty: it is based on a dictionary word
$ echo "123" | cracklib-check
123: it is WAY too short
$ echo "123456" | cracklib-check
123456: it is too simplistic/systematic
$ echo "12345654321" | cracklib-check
12345654321: it is too simplistic/systematic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment