I would like to customize my password expiration warnings. I figured PAM reads them from somewhere, but can't find from where. The question is relevant for both Ubuntu/Debian and Fedora/RHEL/CentOS.
Where does PAM read Warning: your password will expire in X days
from?
Thanks!