• Subject: RE: How to preserve password change date
  • From: John Earl <johnearl@xxxxxxxxxx>
  • Date: Sun, 16 Nov 1997 11:02:58 -0800


<Dave's Thoughts>

>Don't even think about trying to change audit values like last password
>change date. Just change the password expiry interval on the user's
>profile so that the password will expire on it's appointed date, i.e.
>normal interval minus number of days elapsed since previous change.
>After the password has been changed set it back to *SYSVAL, or whatever
>the usual setting is for this user. But don't try to hide the fact of
>the password change from the user.

To build on Dave's idea here, after you replace the password in the profile,
you could calculate the number of days until the next scheduled password change:

Password expiration interval -  (Today - Password last change date)

Then, whenever a user changes their password use either the PWDVLDPGM system
value or the change user profile exit point (in WRKREGINF) as a trigger to
force the default value for password expiration interval back into their
user profile.



* John Earl                     *
* Lighthouse Software Inc.      *
* 8514 71st NW                  *
* Gig Harbor, WA 98335          *
* 253-858-7388                  *
* johnearl@lns400.com           *

| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].