Defining the Remote Debug Service started task
The following sample RACF commands create the EQARMTD
started task, with
protected user ID (STCEQA2
) and the STCGROUP
group assigned to
it:
-
ADDGROUP STCGROUP OMVS(AUTOGID) - DATA(‘GROUP WITH OMVS SEGMENT FOR STARTED TASKS’)
-
ADDUSER STCEQA2 DFLTGRP(STCGROUP) NOPASSWORD - NAME(‘REMOTE DEBUG SERVICE’) - OMVS(AUTOUID HOME('/tmp') PROGRAM('/bin/sh')) - DATA('IBM z/OS Debugger')`
-
RDEFINE STARTED EQARMTD.* - STDATA(USER(STCEQA2) GROUP(STCGROUP) TRUSTED(NO)) - DATA(‘REMOTE DEBUG SERVICE’)
-
SETROPTS RACLIST(STARTED) REFRESH
Notes:
- Ensure that the started task user ID is protected by specifying the
NOPASSWORD
keyword. - Ensure that the home directory exists and is readable, writable, and executable by the started task user. Otherwise, Remote Debug Service will not start.
- If you are enabling Remote Debug Service to collect code coverage without enabling Code Coverage Service, ensure that the started task user ID or related group has enough authority to change the ownership of z/OS UNIX files. For more information on code coverage options with Remote Debug Service, see Customizing with the sample job EQARMTSU. For more information on changing file ownership, see Steps for authorizing selected users to transfer ownership of any file and Steps for setting up the CHOWN.UNRESTRICTED profile.