Interview Prep/Linux/SSH & Access Hardening

What password policy settings do you configure on Linux?

BeginnerProductionSSH & Access Hardening
Answer

/etc/security/pwquality.conf for strength (minlen = 14, dcredit, ucredit, dictcheck = 1), password history with pam_pwhistory (remember = 5), and ageing defaults in /etc/login.defs (PASS_MAX_DAYS, PASS_WARN_AGE). Modern guidance (NIST 800-63B) favours long passphrases and breach checks over forced periodic rotation, but many compliance frameworks still require ageing.

All Linux questions Roadmap: Linux

More on SSH & Access Hardening