RACF - Reset Password

Hello guys,

I’m dealing with a scenario where I need to perform a password reset on a RACF connector (Connector Gateway).

However, I’ve noticed that when a user attempts to log in to the system multiple times, they get locked out after X attempts. When they reset their password via ISC, the ISC updates the password in RACF but does not unlock the user account.

Have you encountered this scenario before? How did you resolve it?

Hi Matheus,

That behavior is expected. In RACF the password and the REVOKE flag are independent. When a user exceeds SETROPTS PASSWORD(REVOKE(n)), RACF sets REVOKE on the userid, and ALTUSER userid PASSWORD(...) does not clear it. Only ALTUSER userid RESUME does. ISC’s password reset sends only the password transaction, so the account stays revoked with a new password on it.

You can handle the resume on the mainframe/server with a post-script. The Connector for RACF can call a script before and after each connector function. A post-script on the password-change function can issue the RESUME, gated on the revoke reason so a reset never re-enables an account someone revoked deliberately. This runs where the revoke flag lives, which avoids depending on how ISC routes password requests.

Or, better, you can enable the connector’s Locked Accounts feature, then unlock from ISC. This makes the connector report why an account is revoked, via RU_LOCKED, RU_SUSPENDED and RACF_REVOKE_REASON, which is what ISC needs before it can safely resume anything. Setup will have to be server-side: define the CTSLKACT custom field, recycle the gateway and Online Interceptor, re-aggregate. The Online Interceptor must stay running, since RACF does not store the revoke reason and the interceptor derives it from SMF records.

Are you saying you use a beforeProvisioningRule (Cloud Rule) to manipulate the Provisioning Plan and send these attributes in the plan?

No, neither option involves a cloud rule.

The post-script runs on the mainframe, not in ISC. The Connector for RACF can invoke a script before and after each connector function, so the script sits on the RACF side of the gateway and fires after the password-change function executes. ISC sends the same password transaction it always sends. Nothing is added to the plan, and no attributes are injected from the cloud. The RESUME is issued locally, gated on the revoke reason so a reset does not re-enable an account that was revoked deliberately.

The Locked Accounts option is not plan manipulation either. Once the connector reports RU_LOCKED, RU_SUSPENDED and RACF_REVOKE_REASON, unlock becomes a normal ISC account action against the source, separate from the password reset.

I did consider a BeforeProvisioning rule appending an unlock or enable operation to the plan, but I don’t actually know if a password reset produces a plan that reaches the cloud rule at all, and that the rule can add a second account operation rather than modify requests already in it. I can’t advise on it, but certainly worth looking into

How does the RACF connector invoke this script?

Hi Matheus. Yes, the script option is configured on the RACF Connector side. RSSAPI defines the pre/post script calls, and the scripts are stored in the PDS configured by SCRIPT_DIR in RSSPARM. For this requirement, though, a custom script may not be needed. You can set:

<rss_name> RCF_RESUME_BEFORE_PASSCHG Y

This makes the connector issue:

ALTUSER <userid> RESUME

before the password or phrase update.

This can resume any revoked userid, not only accounts locked due to failed password attempts. If you need to distinguish those cases, the Locked Accounts feature can expose RACF_REVOKE_REASON, such as PASSWORD, for more selective handling.

When you say “RACF Connector,” you’re referring to the mainframe side, not the ISC side, right?

Hi Matheus,

Both are different tasks reset and unlock the users account with ISC, There are some flags designed with the RACF connector when the flag is enabled that tells the connector gateway and appends the unlock when requested for the password change/reset.
In the connector configuration check first if the below is not available you can add this attribute with patch API call unlockOnPasswordReset and make it true. check if this could resolve your issue else you can follow @punna0001 .
HI @punna0001 , This could resolve this situation because in backend this will use ALTUSER userid PASSWORD(...) provided in your solutions.
correct me if I am wrong.

Hello Matheus. Yes, I mean the Mainframe Connector side, not ISC. RCF_RESUME_BEFORE_PASSCHG is configured in the RSSPARM member there.

@Deepak_Chaudhary , thanks for sharing this. I could not find unlockOnPasswordReset documented for the SailPoint RACF connector. If you have a RACF-specific reference for that attribute, please share it.

The documented option I found is RCF_RESUME_BEFORE_PASSCHG, which issues:

ALTUSER <userid> RESUME

before the password or phrase update.

Also, ALTUSER userid PASSWORD(...) by itself would only reset the password. A revoked userid still needs the RESUME operation.

Could you send me the link to the documentation that covers this point?

Hello Matheus. Here is the page: RSSPARM – Managed System Parameters

Look in the Managed System-Specific Parameters table for RCF_RESUME_BEFORE_PASSCHG. It documents that when set to Y, the connector issues ALTUSER <userid> RESUME before the password or phrase update, with a default of N. The note there also covers the caveat that it resumes any revoked userid whenever SailPoint sends a password or phrase update, and that it resets users revoked through the RACF INACTIVE option.