If we have a file on a server (Linux, AIX, etc) that contains the common passwords, how can we filter passwords based on this?
pam_cracklib provides the option 'dictpath'. pam_cracklib comes with a basic word list located at
/usr/share/dict/cracklib-small. You can also use other, larger word list instead of the one provided.