Open source RACF shell interface intended for z/OS Unix SSH sessions
The following commands are currently implemented in racshell/.
| Command | Category | Purpose | Key Options |
|---|---|---|---|
adduser |
User | Create RACF user | --traits, --json, --debug, --all-json, --no-color |
altuser |
User | Alter RACF user | --traits, --json, --debug, --all-json, --no-color |
deleteuser |
User | Delete RACF user | --json, --debug, --all-json, --no-color |
listuser |
User | Display RACF user details | --groups, --tso, --kerberos, --cics, --omvs, --security, --csdata, --json, --all-json, --debug, --no-color |
addgroup |
Group | Create RACF group | --traits, --json, --debug, --all-json, --no-color |
altgroup |
Group | Alter RACF group | --traits, --json, --debug, --all-json, --no-color |
deletegroup |
Group | Delete RACF group | --json, --debug, --all-json, --no-color |
connect |
Group | Connect user to RACF group | --traits, --json, --debug, --all-json, --no-color |
remove |
Group | Remove user from RACF group | --json, --debug, --all-json, --no-color |
listgroup |
Group | Display RACF group details | --users, --omvs, --csdata, --json, --all-json, --debug, --no-color |
adddataset |
Dataset | Create RACF dataset profile | --generic, --traits, --json, --debug, --all-json, --no-color |
altdataset |
Dataset | Alter RACF dataset profile | --generic, --traits, --json, --debug, --all-json, --no-color |
deletedataset |
Dataset | Delete RACF dataset profile | --generic, --json, --debug, --all-json, --no-color |
listdataset |
Dataset | Display RACF dataset profile details | --generic, --csdata, --json, --debug, --all-json, --no-color |
addresource |
Resource | Create RACF resource profile | --traits, --json, --debug, --all-json, --no-color |
altresource |
Resource | Alter RACF resource profile | --traits, --json, --debug, --all-json, --no-color |
deleteresource |
Resource | Delete RACF resource profile | --json, --debug, --all-json, --no-color |
listresource |
Resource | Display RACF resource profile details | --csdata, --access, --json, --debug, --all-json, --no-color |
searchresource |
Resource | Search RACF resource profiles by class | --filter, --json, --debug, --all-json, --no-color |
permitdataset |
Permit | Grant access to dataset profile | --generic, --traits, --json, --debug, --all-json, --no-color |
permitresource |
Permit | Grant access to resource profile | --traits, --json, --debug, --all-json, --no-color |
deletepermitdataset |
Permit | Revoke access to dataset profile | --generic, --json, --debug, --all-json, --no-color |
deletepermitresource |
Permit | Revoke access to resource profile | --json, --debug, --all-json, --no-color |
User administration and lookup commands.
Create a RACF user.
Usage:
adduser <userid> [options]
Options:
-t, --traitstraits to set (repeatable), e.g.base:name='John Doe' omvs:uid=24-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response
Alter an existing RACF user.
Usage:
altuser <userid> [options]
Options:
-t, --traitstraits to alter (repeatable), e.g.base:name='LEONARD CARCARAMO' base:special=true-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response
Delete a RACF user.
Usage:
deleteuser <userid> [options]
Options:
-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response
Extract and display RACF user details.
Usage:
listuser <user> [options]
Options:
-g, --groupslist connected RACF groups-t, --tsolist TSO segment-k, --kerberoslist Kerberos segment-c, --cicslist CICS segment-o, --omvslist OMVS segment-s, --securitylist security-related fields-x, --csdatalist CSDATA segment-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response
Group administration and lookup commands.
Create a RACF group.
Usage:
addgroup <group> [options]
Options:
-t, --traitstraits to set (repeatable), e.g.base:owner=SYS1 base:superior_group=SYS1-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response
Alter an existing RACF group.
Usage:
altgroup <group> [options]
Options:
-t, --traitstraits to alter (repeatable), e.g.base:owner=SYS1 omvs:gid=1234567-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response
Delete a RACF group.
Usage:
deletegroup <group> [options]
Options:
-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response
Extract and display RACF group details.
Usage:
listgroup <group> [options]
Options:
-u, --userslist connected users-o, --omvslist OMVS segment-x, --csdatalist CSDATA segment-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response
Connect a RACF user to a RACF group.
Usage:
connect <userid> <group> [options]
Options:
-t, --traitsconnection traits to set (repeatable), e.g.base:special=true-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response
Remove a RACF user from a RACF group.
Usage:
remove <userid> <group> [options]
Options:
-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response
Dataset profile administration commands.
Create a RACF dataset profile.
Usage:
adddataset <dataset> [options]
Options:
-t, --traitstraits to set (repeatable), e.g.base:universal_access=None base:owner=eswift-g, --generictreat the dataset name as a generic profile (e.g.ESWIFT.TEST.**)-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response
Create a RACF dataset profile.
Usage:
altdataset <dataset> [options]
Options:
-t, --traitstraits to set (repeatable), e.g.base:universal_access=None base:owner=eswift-g, --generictreat the dataset name as a generic profile (e.g.ESWIFT.TEST.**)-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response
Delete a RACF dataset profile.
Usage:
deletedataset <dataset> [options]
Options:
-g, --generictreat the dataset name as a generic profile-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response
Extract and display RACF dataset profile details.
Usage:
listdataset <dataset> [options]
Options:
-g, --generictreat the dataset name as a generic profile-x, --csdatalist CSDATA segment-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response
Resource profile administration and lookup commands.
Create a RACF resource profile.
Usage:
addresource <resource> <class> [options]
Options:
-t, --traitstraits to set (repeatable), e.g.base:owner=SECADM base:universal_access=None-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response
Alter an existing RACF resource profile.
Usage:
altresource <resource> <class> [options]
Options:
-t, --traitstraits to alter (repeatable), e.g.base:owner=SECADM base:universal_access=None-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response
Delete a RACF resource profile.
Usage:
deleteresource <resource> <class> [options]
Options:
-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response
Extract and display RACF resource profile details.
Usage:
listresource <resource> <class> [options]
Options:
-x, --csdatalist CSDATA segment-l, --accesslist access control list-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response
Search for RACF resource profiles in a given class.
Usage:
searchresource <class> [options]
Options:
-f, --filterfilter resource profiles by name pattern (optional), e.g.IRR-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response
Permit (access control list) administration and management commands.
Grant a user access to a RACF dataset profile.
Usage:
permitdataset <dataset> [--volume <volume>] <userid> [options]
Options:
-g, --generictreat the dataset name as a generic profile (e.g.ESWIFT.TEST.**)--volumevolume name for the dataset-t, --traitspermit traits (repeatable), e.g.base:access=READ-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response
Grant a user access to a RACF resource profile.
Usage:
permitresource <resource> <class> <userid> [options]
Options:
-t, --traitspermit traits (repeatable), e.g.base:access=READ-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response
Revoke a user's access to a RACF dataset profile.
Usage:
deletepermitdataset <dataset> [--volume <volume>] <userid> [options]
Options:
-g, --generictreat the dataset name as a generic profile--volumevolume name for the dataset-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response
Revoke a user's access to a RACF resource profile.
Usage:
deletepermitresource <resource> <class> <userid> [options]
Options:
-n, --no-colordisable colored output-d, --debugdebug SEAR request and response-j, --jsonoutput as JSON-a, --all-jsonoutput full raw SEAR JSON response