/etc/pam.d/common-password
lastmod 2026-11-10created 2020-11-182 edits
/etc/pam.d/common-password is the file that collects the common rules of the password type in the Linux PAM configuration of Debian and Ubuntu-based systems. It applies when a password is changed with the passwd command and the like; pam_unix sets the hashing method, and pam_cracklib or pam_pwquality enforces complexity rules such as minimum length, character classes, and dictionary words. Many service configuration files share it through @include.