Expired passwords

pts.
Tags:
Security management
Is there a report or a file to query on the ISeries that will list users whose passwords are about to expire?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Use DSPUSRPRF specify the following paramters

DSPUSRPRF USRPRF(*ALL) OUTPUT(*OUTFILE) OUTFILE(S2KLIB/USERPRF)

The *outfile options will create an as400 table. In this case, i have created outfile = USERPRF in S2KLIB library. Then use Query/400 or SQL to print a report. Specify the field: UPPWEX = ‘*YES’ to filter those whose passwords had expired. Of course, include your userid and etc infor that will help you identify the user in particular

If you use either SQL/Query/400 you could embed the DSPUSRPF and RUNQRY (for Query/400) or STRQMQRY for SQL into a CL. Put in the necessary MONMSG commands and you are done.

If your company’s policy is to delete userid whereby password had expired and last changed password > 90 days (assume that policy is to change password every 90 days), youi can also embed DLTUSRPRF UPUPRF into the above CL. The password last changed date is also inside the table you create with DSPUSRPRF command with *BASIC mode

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following