Previous Topic: CPCMD Resource Class—Secure CP CommandsNext Topic: CPU Resource Class—Secure CPU Access


Examples: CPCMD resource class

This example protects the CP command, SHUTDOWN, by assigning ownership to the Operations Department:

TSS ADDTO(OPERDEPT) CPCMD(SHUTDOWN)

The administrator may now PERMIT limited access to users or to profiles that require access.

This example removes ownership of CP commands:

TSS REMOVE(OPERDEPT) CPCMD(SHUTDOWN)

This example permits USER03 to use the CP command QUERY, to get a listing of real DASD on the real computer:

TSS PERMIT(USER03) CPCMD(QUERY.DASD)
                   ACTION(VMPRIV)

If ACTION(VMPRIV) was not specified, USER03 would have gotten a listing of virtual DASD on his virtual machine.

This example permits USER03 to use the CP command, SHUTDOWN:

TSS PERMIT(USER03) CPCMD(SHUTDOWN)

In this example, VMPRIV is implied.

This example revokes USER03's permission to use SHUTDOWN:

TSS REVOKE(USER03) CPCMD(SHUTDOWN)