XYGATE Access Control Reference Manual

XYPRO Technology Corporation 277 Proprietary and Confidential
Appendix F: XAC Obey and Command
File Use and Token
Replacement
When an XAC session is started, certain parameters are set based on the run
parameters, startup message and various other runtime parameters. These values are
assigned to a series of “percent parameters” that begin with a percent sign. These
parameters can be referenced within the XAC ACACL Command Entry. The
PERCENT keyword in the ACACL entry can be set to ON or OFF to explicitly enable
or disable this feature. By default, PERCENT is assumed ON for an interactive
XYGATEAC session.
Note: The order of evaluation of commands is ALIAS, %parameters, FKEY,
ALLOWCMD / DENYCMD, COMMANDESC and RUNCHECK. All %parameter
substitution will occur after ALIAS processing and before any other evaluation.
Note: XAC can support nested obey files up to twenty levels of nesting. The twenty-
first level will cause an error to occur in execution of that particular obey file, but
the others that are not nested as deeply will continue to execute.
When an ACACL Command Entry contains the FILE keyword followed by the name of
the file to be used as input, "PERCENT ON" is assumed. The commands being
executed from the file can contain tokens that are prefixed by a percent sign. These
tokens are converted at run-time based on the user executing the file, and
DEVICEINFO requests are replied to as if the XYGATEAC process is a process.
If the ACACL Command Entry contains the OBEY keyword followed by the name of
the file to be obeyed, then "PERCENT OFF" is assumed and DEVICEINFO requests
are replied to as if the XYGATEAC process is a terminal.
The valid %<arguments> are:
%*
Used in the argument to STARTUP to represent the entire startup message
%A
The pseudo name of the terminal represented by the XYGATEAC process;
that is, $X123.#IN
%T
Current home terminal
%I
The IN file of the XYGATEAC program
%O
The OUT file of the XYGATEAC program
%G
The three digit NonStop Kernel group number of the XYGATEAC user
%U
The three digit NonStop Kernel user number of the XYGATEAC user