Use the QRULES command to query the CA VM:Secure rules database for user authorizations.
The syntax and function are identical to the CAN command. The differences in output are as follows:
The QRULES command lets you determine whether a user ID is authorized to perform a specific action using CP, CA VM:Schedule, and CA VM:Tape commands. It responds with the rule that governs the specified action.
Examples
vmsecure qrules george autolog martha
The response indicates that the governing rule is the NORULE default rule:
ACCEPTED VIA NORULE DEFAULT
vmsecure qrules james transfer dolley
The response indicates that DOLLEY’s user rule for SPOOL commands accepts all SPOOL and TRANSFER commands:
ACCEPTED VIA USER RULE: ACCEPT * SPOOL
vmsecure qrules sysoper link tekdbase 191
The response indicates that SYSOPER cannot perform the link based on a group level rule:
REJECTED VIA GROUP RULE: REJECT OPERATNS LINK (GROUP HISTORY
vmsecure qrules sysoper link tekdbase 191 (group support
The response indicates that if SYSOPER were a member of the security group SUPPORT, SYSOPER can perform the link successfully:
ACCEPTED VIA NORULE DEFAULT
Note: For command syntax and parameter descriptions of the CAN and QRULES commands, see the CAN Command. To use the QRULES command, substitute the word QRULES for the word CAN wherever it occurs in the text.
|
Copyright © 2014 CA.
All rights reserved.
|
|