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).