PAM_PWHISTORY(8) Linux-PAM PAM_PWHISTORY(8) (NAME) pam_pwhistory - PAM (SYNOPSIS) pam_pwhistory.so [debug] [use_authtok] [enforce_for_root] [remember=N] [retry=N] [authtok_type=STRING] [file=/path/filename] [conf=/path/to/config-file] (DESCRIPTION) . kerberos . NIS LDAP . (OPTIONS) debug syslog(3) . use_authtok password ( pam_passwdqc ). enforce_for_root root . remember=N N . 10 . 0 opasswd . retry=N N . 1 . authtok_type=STRING pam_get_authtok(3) . file=/path/filename /path/filename . /etc/security/opasswd . conf=/path/to/config-file /etc/security/pwhistory.conf. pwhistory.conf(5) . . (MODULE TYPES PROVIDED) password . (RETURN VALUES) PAM_AUTHTOK_ERR . PAM_IGNORE . PAM_MAXTRIES . PAM_USER_UNKNOWN . (EXAMPLES) password : #%PAM-1.0 password required pam_pwhistory.so password required pam_unix.so use_authtok pam_passwdqc: #%PAM-1.0 password required pam_passwdqc.so config=/etc/passwdqc.conf password required pam_pwhistory.so use_authtok password required pam_unix.so use_authtok (FILES) /etc/security/opasswd /etc/security/pwhistory.conf pam_pwhistory (SEE ALSO) pwhistory.conf(5), pam.conf(5), pam.d(5), pam(8) pam_get_authtok(3) (AUTHOR) pam_pwhistory Thorsten Kukuk . Linux-PAM 01/26/2026 PAM_PWHISTORY(8)