Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-7843: Xterm Sessions not captured in DirectAudit

Centrify DirectAudit ,  

13 December,16 at 08:55 PM

Applies to: Centrify Direct Audit for Unix/Linux on all platforms.

Question:
Is there any way to get xterminal sessions to be captured by Direct Audit? 

Answer:
By default Xterm sessions are not audited as they do not launch an audited shell.

Xterm does not get the login shell information from getpwnam(). Instead, it tries to use the value of the shell variable SHELL. However, xterm can also accept the login shell as part of the command line.

Attached to this KB there is a shell script, xterm, that can be placed in a directory such as /usr/share/centrifydc/bin (or other paths that is ahead of /usr/bin).
The script gets the value of the environment variable SHELL to set up the path to the DA shell. For example, if SHELL is /bin/bash, set up the string /bin/cda/bash.
Then invoke /usr/bin/xterm and specify the audited shell as the parameter.

This will allow the Xterm session to be recorded via Direct Audit.
Attachments:

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.