To install the package:
- In redhat family:
# yum install cracklib -y
- In debian family:
# apt install libcrack2
To use, just run cat and pipe it against cracklib-check command, and supply your password after that. Do not forget to type ctrl-d or ctrl-c to get back to the shell, once done.
$ cat | cracklib-check
password
password: it is based on a dictionary word
$ cat | cracklib-check
Xeir3oongex*
Xeir3oongex*: OK
No comments:
Post a Comment