Error in SYS2.JCLLIB.CHGPWD Volker Bandke turnkey-mvs
If anyone has been using Volker Bandke’s turnkey-mvs trying to change their password using the provided job in SYS2.JCLLIB.CHGPWD and then noticed that they are unable to login, the provided job has a slight flaw in it that actually changes the username and not the password.
Original Script (Lines 21-23)
ACCOUNT CHANGE (_theuid) DATA(_thepass) END The job jcl should in fact be:
ACCOUNT CHANGE (_theuid _curpass) DATA(_newpass) END This will then successfully change the password for the account, however please note that the target user will need to be logged off of TSO.