/etc/login.defs settings not taken into account: password aging

Solution 1:

The man page is pretty clear about this:

        PASS_MAX_DAYS, PASS_MIN_DAYS and PASS_WARN_AGE are only used at the
        time of account creation. Any changes to these settings won't affect
        existing accounts.