XAC: How to set BASH as default shell for OSS.

XAC: How to set BASH as default shell for OSS.

The following XAC command can be used to start bash directly.

COMMAND OSS-BASH-SHELL
   USER 37,2
   OBJECT $SYSTEM.XYGATEAC.XYGATEOA
   ACL $ROB
   OPENSBYOBJECTS \*.$*.*.*
   STARTUP '-xac -c "/usr/coreutils/bin/bash -l"'
   STOPONERROR 60,66,140,190,191
   DONOTSTOP $*.*.PATHTCP2
   USER_SWITCH SAFEGUARD_PRIVLOGON
 
The quotes are necessary as placed below. The "-l" tells bash to start as if it had been invoked as a login shell.?


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 - 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 ...
    • 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 ...
    • XAC: OSH (OSS) vi command requires user to press enter multiple times

      A formal fix has been released by HPE. SPR T0801H01 ACQ (May 2019) L-series Fix: T0801L01 ACT - Releasing soon SYMPTOMS: STN (pseudo-TTY): Application output (sometimes including echo of input) is "stuck", not appearing until the next keyboard input. ...
    • 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 ...
    • XAC: Priority not being properly set for applications

      1. Check the ACACL file for a PRI keyword value that matches the priority the affected process is currently running as. 2. Check the ACLGROUP associated with the XAC Command this PRI keyword is running under to make sure that the affected users do ...