How can I enforce mínimum length and complexity for users passwords on Linux?
You should look into all things "pam" and particularly the
This little perl one liner will do set password quality as per the NSA Securing Linux Guide:
(Tested on RedHat/Centos).
one more link i have use log back may be help stronger Password