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.
More on SSH & Access Hardening
What are the first sshd_config changes you make on a new production server?BeginnerWhy use a drop-in file in /etc/ssh/sshd_config.d/ instead of editing sshd_config?IntermediateWhy disable SSH password authentication entirely?BeginnerShould you change the SSH port from 22?IntermediateWhat are SSH certificates and why do large fleets use them?AdvancedHow do you restrict what a specific SSH key can do?Advanced