'TSS ADD(acid) UNIXPRIV(SUPERUSER)' Produces The Following Error Message 'TSS0222E RESOURCE LENGTH INVALID FOR FUNCTION'

book

Article ID: 53835

calendar_today

Updated On:

Products

Cleanup Datacom DATACOM - AD CIS COMMON SERVICES FOR Z/OS 90S SERVICES DATABASE MANAGEMENT SOLUTIONS FOR DB2 FOR Z/OS COMMON PRODUCT SERVICES COMPONENT Common Services CA ECOMETER SERVER COMPONENT FOC EASYTRIEVE REPORT GENERATOR FOR COMMON SERVICES INFOCAI MAINTENANCE IPC UNICENTER JCLCHECK COMMON COMPONENT Mainframe VM Product Manager CHORUS SOFTWARE MANAGER CA ON DEMAND PORTAL CA Service Desk Manager - Unified Self Service PAM CLIENT FOR LINUX ON MAINFRAME MAINFRAME CONNECTOR FOR LINUX ON MAINFRAME GRAPHICAL MANAGEMENT INTERFACE WEB ADMINISTRATOR FOR TOP SECRET Xpertware Top Secret Top Secret - LDAP Top Secret - VSE

Issue/Introduction

Description

How do I activate the UNIXPRIV resource?

  TSS ADD(xpzsypr) UNIXPRIV(SUPERUSER) 
  
Produces the following error messages: TSS0222E RESOURCE LENGTH INVALID FOR FUNCTION TSS0301I ADD FUNCTION FAILED, RETURN CODE = 4
TSS PERMIT(SYSPRG3) UNIXPRIV(SUPERUSER.FILESYS.MOUNT) ACCESS(READ,UPDATE)
Produces the following error message: TSS0318E RESOURCE NOT FOUND IN SECURITY FILE TSS0301I PERMIT FUNCTION FAILED, RETURN CODE = 8

Solution

Please issue the following commands:

  TSS ADD(xpzsypr) UNIXPRIV(SUPERUSE)

The MAXOWN for the UNIXPRIV is 8 The maximum characters that can be specified on the TSS ADD command for the UNIXPRIV resource class is 8.

The following is a listing of the UNIXPRIV resource class which shows the MAXOWN value.

  tss list(rdt) resclass(unixpriv) 
      ACCESSORID = *RDT*     NAME       = RESOURCE DEFINITIONS 

      RESOURCE CLASS = UNIXPRIV 
      RESOURCE CODE = X'049'   POSIT =    555 
        ATTRIBUTE = NOMASK,MAXOWN(08),MAXPERMIT(039),ACCESS,PRIVPGM 
          ACCESS = NONE(0000),CONTROL(6400),UPDATE(6000),READ(4000)
          ACCESS = WRITE(2000),ALL(FFFF) 
          DEFACC = READ 
      TSS0300I  LIST     FUNCTION SUCCESSFUL 
      READY 

Now you will be able to issue the:

  TSS PERMIT(SYSPRG3) UNIXPRIV(SUPERUSER.FILESYS.MOUNT) ACCESS(READ,UPDATE)

Please refer to the CA Top Secret Command Functions Guide for more details about the TSS ADD, TSS PERMIT and TSS LIST(RDT).

Environment

Release:
Component: AWAGNT