Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is there an easy way to check a password using cracklib via the command line? Preferably on OS X.


It doesn't come with OS X, but I suppose there should be a port available somewhere. Otherwise, Virtualbox and some minimal distro are probably your best bet.

On Linux command line, you just feed the password to it:

  echo "password" | cracklib-check


  brew install cracklib cracklib-words

  echo "lol" | cracklib-check




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: