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

Volker Bandke’s Turnkey MVS

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s