|
Paul, I assume this is being done with the co-operation of the user concerned otherwise this looks suspiciously like a hack. You should get the user to set the password back for you because, of course, there is no way you could ever know their password, is there? :-) 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. Dave Kahn, TCO, Kazakstan ========= kahn@tengizchevroil.com (to November 25) dkahn@cix.compulink.co.uk (from November 26) >-----Original Message----- >From: Qile@aol.com [SMTP:Qile@aol.com] >Sent: Thursday, 13 November, 1997 20:40 >To: MIDRANGE-L@midrange.com >Subject: How to preserve password change date > >Hi, >Does anyone know a way to prevent the QSYSUPWD api from changing the password >change date? or maybe a way to reset the change date to its original value? >I want to temporarily change a users password and then restore it back using >the QSYRUPWD and QSYSUPWD API's. But I don't want the originalpassword change >date to be lost so that the user has to keep their next change on the correct >schedule. > +--- | 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 +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.