|
Enable copy/paste in your CA session, do a WRKUSRPRF *ALL, enter 2's all the way down one page, copy the 2's to the clipboard, page down, paste, page down, paste, over and over... Then on command line do PWDEXP(*YES) and press enter That way you can omit all your Q users (or any others, like yourself) pretty easily as well. If you have 10k users this way doesn't work. If you have less than 1000, this would probably be the fastest method. Justin C. Haase - iSeries System Administrator IBM Certified Systems Expert - eServer i5 Kingland Systems Corporation email - justin.haase@xxxxxxxxxxxx -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Gary Monnier Sent: Monday, March 21, 2005 1:30 PM To: Midrange Systems Technical Discussion Subject: RE: Expire all passwords Write a CL program to do the following. Display all user profiles to a data file ( DSPUSRPRF USRPRF(*ALL) TYPE(*BASIC) OUTPUT(*OUTFILE) OUTFILE(QTEMP/PROFILES) ). Loop through the outfile and change the user profiles to be expired ( CHGUSRPRF USRPRF(&UPUPRF) PWDEXP(*YES) ). -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Dwayne Allison Sent: Monday, March 21, 2005 11:19 AM To: Midrange Systems Technical Discussion Subject: Expire all passwords How do you expire all password of user who log onto the system? We have changed the way passwords can be entered and want all user to input a new password. -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. CONFIDENTIALITY NOTICE: This e-mail communication, including attachments, is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and may be legally privileged. If you are not the intended recipient or believe you received this communication in error, please reply to the sender indicating that fact and delete the copy you received. In addition, retention, dissemination, distribution, copying, or otherwise use of the information contained in this communication is strictly prohibited. Thank you.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.