How to Automate Linux Password Security Checks and Constraints

252

Automate security checks and constraints is a basic security principle in computer security. A sysadmin can force users to select secure passwords to prevent users with accounts on your Linux servers from using weak passwords like “password”, “abc123”, “username” and so on.

In this tutorial, I will explain how to I setup password quality requirements in Debian or Ubuntu Linux server by installing libpam_cracklib package which includes a PAM module that tests passwords to make sure they are not too weak during password change.