01.01.2013 Views

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

CICS Transaction Gateway V5 The WebSphere ... - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>The</strong>re are two methods of defining a default user ID to a started task:<br />

► Use the RACF exit - ICHRIN03<br />

► Use the STARTED class in RACF. <strong>The</strong> following example shows the user ID<br />

CTGUSER, in the <strong>CICS</strong> group, being assigned as the user ID for all<br />

SCSCTG* tasks:<br />

RDEF STARTED SCSCTG*.* STDATA(USER(CTGUSER) GROUP(<strong>CICS</strong>) PRIVILEGED(NO)<br />

TRUSTED(NO))<br />

More information can be found in the RACF Systems Programmer’s Guide,<br />

SC28-1913.<br />

Program control<br />

To use RACF security functions within the <strong>CICS</strong> TG, all data sets, or HFS files,<br />

the <strong>CICS</strong> TG uses must be marked as program controlled. In the UNIX System<br />

Services context, program control allows RACF to secure UNIX System Services<br />

executables as if they were MVS programs. If you have not turned on program<br />

control for the required data sets, you will probably get 02AF (address bit dirty)<br />

abends.<br />

<strong>The</strong> UNIX System Services command extattr +p is then used to mark UNIX<br />

System Services files as program controlled. You need to be the superuser to<br />

modify the file permissions, so it is best to issue the extattr command as<br />

superuser.<br />

<strong>The</strong>se commands mark the <strong>CICS</strong> TG files as program controlled:<br />

extattr +p /usr/lpp/ctg500/ctg/bin/lib*.so<br />

extattr +p /usr/lpp/ctg500/ctg/bin/SECURES<br />

<strong>The</strong> following command marks Java files that the <strong>CICS</strong> TG requires to be<br />

program controlled:<br />

extattr +p /usr/lpp/java/<strong>IBM</strong>/J1.3/bin/*<br />

To verify the program control commands worked, you can issue the ls -E<br />

command from a UNIX System Services shell. Example 7-4 is an example of the<br />

output of this command. <strong>The</strong> -p in the second column shows that program<br />

control is set.<br />

Example 7-4 <strong>CICS</strong> TG program controlled files<br />

<strong>CICS</strong>RS2 @ SC66:/usr/lpp/ctg500/ctg/bin>ls -E<br />

total 20072<br />

-rwxr-xr-x --s- 1 CTGUSER SYS1 84990 Jun 21 00:04 CTGLOG.HLP<br />

-rwxr-xr-x --s- 1 CTGUSER SYS1 57410 Jun 25 12:18 CTGMSG.HLP<br />

-rwxr-xr-x --s- 1 CTGUSER SYS1 12662 Jun 21 00:04 CTGSAMP.INI<br />

-rwxr-xr-x -ps- 1 CTGUSER SYS1 139264 Jun 21 00:04 SECURES<br />

Chapter 7. TCP connections to the <strong>Gateway</strong> daemon on z/OS 145

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!