XAC: How to Execute XAC Commands within OSS via .profile.

XAC: How to Execute XAC Commands within OSS via .profile.

To execute XYGATEAC commands within OSS, and add the following to the user OSS .profile file.

The .profile file can be located in the user's initial home directory in the OSS environment. The following command takes the user to his home directory: cd ~

Add the following text into the user's .profile file:
xac() {
gtacl -p /G/system/xygateac/xygateac "$1"
}
 
This will enable the user to input the XYGATEAC Commands using the exact same syntax used in the Guardian environment.  For example, if the ACACL Command TACL-255 is used from a TACL prompt to enable a user to operate as SUPER.SUPER, from an OSS prompt would normally need to type
gtacl -p /G/system/xygateac/xygateac tacl-255
 
By inserting the above lines in the .profile file, from an OSS prompt that user can type ?XAC TACL-255? and achieve the same results. This example would result in the user being put into the Guardian environment as SUPER.SUPER.

NOTE:  It is important to know that the commands in the OSS environment are case sensitive.

If this article did not provide a solution, please open a case with our support team by sending an email message to support@xypro.com.
    • Related Articles

    • XAC: OBEY within a TACL macro does not work as expected in XAC TACL

      An obey command executed from the TACL prompt will be captured and controlled if the ACACL entry has ALIAS entries for OBEY. An obey command within a TACL macro will not be captured or controlled. There are constructs in obey files that if obeyed ...
    • XAC - Can I run an XAC command from an OSH (OSS) shell?

      Add the following lines to the user .profile file or the global /etc/.profile file if this functionality is to be available to all users on the system: xac() { gtacl -p /G/system/xygateac/xygateac "$@" ; } XAC() { gtacl -p /G/system/xygateac/xygateac ...
    • Audited OSS session abends after system over via EXPAND

      XYGATEOA is attempting to open the XYGATEAC process that started it and expects that process to be on the same node. Execute system over to another system. Ex., \GALAXY TACL> SYSTEM \EST1983 Initiate TACL audited session using XAC after system over. ...
    • XAC: NSGIT fails to start with error 4006

      The following config will redirect OSH output to the parent TTY which is the Guardian terminal. Syntax: nsgit config --global nsgit.osstty.redirectif=pattern Example: The following makes the redirect conditional, only if runs via XAC. So pure TACL ...
    • XAC: How to configure keystroke auditing for OSS SSH sessions

      Use the following steps to configure XAC auditing for SSH. Add the XAC command. The XAC command requires the following keywords to be included. USER_IGNORED START_LOGGED_ON USER_SWITCH SAFEGUARD_PRIVLOGON Note: If XYGATE User Authentication (XUA) is ...