Expired password change logic, expected to work on RHEL5, RHEL6 and AIX