Use the GRANT record to authorize users to use CA VM:Director commands, utilities, and screen selections.
GRANT authority [OVER target-users] TO users [( "Options"] Options:
GROUP
GRANT is defined in the AUTHORIZ CONFIG file.
Specifies the authorization to use an entire command, a command and some of its parameters, or a list of commands; authority can be any of the authorizations in the following tables:
You can also use an authorization with a trailing asterisk (for example, MAN*) to indicate all authorizations that begin with the specified characters. Such authorizations will be flagged by the configuration file editor as unrecognized, but they are still functional.
Limits the scope of the authority; you can use the word OVER, to make it clear that the authority is valid only for user ID(s) that follow the word OVER.
Specifies the user ID or a list of user IDs, over which the authority is granted to the users.
Specifies a list of user IDs, separated by blanks that receive these authorizations. A trailing asterisk (for example, M*) indicates that all user IDs beginning with the specified characters are authorized.
Depending on your site’s requirements, authorizations can be simple complex. For more information about setting up authorizations, see the chapter "Authorizations" in the Administration Guide. A user ID must be defined in the VMDIRECT MANAGERS file to use manage subfunctions that manipulate DASD. See the chapter on directory managers in the Administration Guide for more information.
Example
GRANT * TO VMANAGER
GRANT MANSEL03 OVER *DIRUSRS OF ROBIN TO BATMAN GRANT USER OVER *DIRUSRS OF ROBIN TO BATMAN
GRANT MANAGE *ALL TO JETHRO ELLIMAE JED
LIST *USRSTUF USESEL03 USESEL04 USESEL06 GRANT *USRSTUF OVER *SELF TO *ALL
GRANT CLASS A TO TED MAINT
LIST *MGRTEAM TLOOIS BABS JOEP KRISTEN KAYCEEP GRANT MANAGE OVER *DIRUSRS OF *SELF TO *MGRTEAM
GRANT $FINDMGR TO SCOTTY
Note that some keyboards ascribe a different hexadecimal representation to the dollar sign, which, in the U.S., is usually X‘24.’ In the United Kingdom, X‘24’ is the pound sign, so this GRANT record is written:
GRANT #FINDMGR TO SCOTTY
GRANT MAINTMAN SPOCK DISKMOVE TO KIRK
GRANT CPFMTXA TO MAINT
This allows MAINT to execute the CPFMTXA command:
VMDIRECT CPFMTXA parameters
|
Copyright © 2014 CA.
All rights reserved.
|
|