Previous Topic: Pattern Matching in AuthorizationsNext Topic: Special Authorization Queries


Querying Authorizations

CA VM:Director provides two types of information about authorizations:

Example:

DEBBIE is in the sales directory managers group (list *SALES). The *SALES group is denied the use of the CHGMDISK command through a WITHHOLD record. However, DEBBIE is specifically authorized to use the CHGMDISK command on user IDs in the *MYLIST list by a GRANT record. *MYLIST includes the user ID JIM. Enter the following LISTAUTH command to find all authorizations that affect DEBBIE’s ability to use the CHGMDISK command on user ID JIM:

vmdirect listauth debbie chgmdisk jim

CA VM:Director responds with the following, indicating that two authorizations affect the user IDs and commands you asked about:

REJECTED BY: WITHHOLD CHGMDISK FROM *SALES
ACCEPTED BY: GRANT CHGMDISK *MYLIST TO DEBBIE

The response shows the authorizations in the AUTHORIZ CONFIG file that mention DEBBIE, the CHGMDISK command, and user ID JIM, with the affected one listed first.

Next, enter the following MAY command to find whether DEBBIE can use the CHGMDISK command on user ID JIM:

vmdirect may debbie chgmdisk jim

CA VM:Director responds with the following, indicating that DEBBIE cannot use the CHGMDISK command on user ID JIM:

REJECTED BY: WITHHOLD CHGMDISK FROM *SALES