I am new to IBM AS400. Recently there is a need in my company to implement a 90 days password change for all users. The problem is some users won't change their password even if we already notify them in advanced (notify through email or from AS400 itself). The first option is to have a QSECOFR account that would change the password automatically. The second option is to set PWDEXP value to *Yes and wait for the password to expire and it would notify the user to change. I am trying to mitigate if somehow the users were not able to change their password individually and would require someone else. Now imagine that there are 100 of user who needs to recover their account and using a super admin would require to manually change the password one by one. My question is can you change or recover the password of the user simultaneously?
-
1Is this an actual programming-related question?DarkBee– DarkBee2024-08-13 09:15:02 +00:00Commented Aug 13, 2024 at 9:15
-
1It is more on the configuration for AS400.Brody_Brody– Brody_Brody2024-08-13 09:20:33 +00:00Commented Aug 13, 2024 at 9:20
-
1Please have a look at the tour and How to Ask. SO is a Q&A website for programming-related questionsDarkBee– DarkBee2024-08-13 09:24:20 +00:00Commented Aug 13, 2024 at 9:24
-
1I’m voting to close this question because it belongs on serverfault.comCharles– Charles2024-08-13 13:39:05 +00:00Commented Aug 13, 2024 at 13:39
-
2In principle, I agree that this question is probably better suited to Server Fault, but (1) the IBM midrange tag seems to be barely established there (which I realize is a bit of a chicken-and-egg problem), so for better or for worse, it will get more eyeballs here, and IBM midrangers tend to dabble in both programming and admin; and (2) there is a gray area where server config problems might be best handled with some programming. This question is plausibly welcoming programming solutions, though I will grant that if that is what is being sought, then the text could make that more explicit.John Y– John Y2024-08-13 13:54:06 +00:00Commented Aug 13, 2024 at 13:54
|
Show 6 more comments
1 Answer
Put 90 into system value QPWDEXPITV like this, from the AS400 command line,
chgsysval sysval(QPWDEXPITV) VALUE(90)
= = =
From the AS400 command line type,
WRKSYSVAL SYSVAL(*SEC)
Shows you all the system values related to security.
Look through them and you will see the above system value whose description is "Password expriation interval". Setting it to 90 means the passwords on the system have to change every 90 days. There is also system value QPWDEXPWRN, default 7 , this is the number of days before the password expires the AS400 will start warning the user.
Hope that helps.
The way to switch it off again is
chgsysval sysval(QPWDEXPITV) VALUE(*NOMAX)