Previous Topic: Password Expiry CheckingNext Topic: Password Value Checking


Initial Password Expiry Program

If a password expiry value is set for the profile (for example, if either an absolute password expiry date, or a relative expiry period in days is specified for the profile), the Toolkit initial program, YINLPGM, calls a separate program YINLPGMPWD to carry out the actual checking.

The YINLPGMPWD program will do the following:

  1. Retrieve the password last change date for the user profile (PWDCHGDAT on i OS user profile), and the current system date (i OS QDATE system value).
  2. Determine a base password expiry date, as follows:

    If the profile has a password expiry date which is earlier than the current system date, it will be used as the base expiry date.

    Otherwise, the password expiry period (if any) will be added to the password last change date to give the base password expiry date.

  3. Determine the grace password expiry date by adding the password expiry grace period for the user profile to the base expiry date computed previously.
  4. Compare the current system date with the calculated expiry dates.