Convert RACF commands to ACF2 equivalents to protect the log stream file.
search cancel

Convert RACF commands to ACF2 equivalents to protect the log stream file.

book

Article ID: 220005

calendar_today

Updated On:

Products

ACF2 ACF2 - z/OS

Issue/Introduction

How to convert from following RACF commands to ACF2 for log stream file protection.

RDEF LOGSTRM ESP.LOGSTRM UACC(NONE)

PERMIT ESP.LOGSTRM CL(LOGSTRM) ID(ESPSTC) ACC(UPDATE)
PERMIT ESP.LOGSTRM CL(LOGSTRM) ID(ADPTSTC) ACC(READ)

SETROPTS CLASSACT(LOGSTRM) RACLIST(LOGSTRM)
SETROPTS RACLIST(LOGSTRM) REFRESH

Environment

Release : 16.0

Component : CA ACF2 for z/OS

Resolution

SET C(GSO)
INSERT CLASMAP.logstrm RESOURCE(LOGSTRM) RSRCTYPE(LOG)
F ACF2,REFRESH(CLASMAP)

CHANGE INFODIR TYPES(R-Rlog)
F ACF2,REFRESH(INFODIR)

SET RESOURCE(LOG)
RECKEY ESP ADD(LOGSTRM UID(uid for logonid ESPSTC) SERVICE(UPDATE) ALLOW)
RECKEY ESP ADD(LOGSTRM UID(usi for logonid ADPTSTC) SERVICE(READ) ALLOW)
F ACF2,REBUILD(LOG)