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  >

KB-6403: Missing keystroke when dzdo command is enabled and used in pipe

Centrify DirectControl ,  

12 April,16 at 10:59 AM

Applies to:
CDC version 5.3.0

When dzdo/sudo is under auditing and the command output is piped, user will found some key inputs not appear in the export TXT session generated by Audit Analyzer.

The missing keystroke is because of a bug in cdash.

In cdash's event loop, it will check stdout, stdin, dev_tty and stderr file descriptors one by one. In this bug, when user press a key input, it looks like both stdin and dev_tty will be triggered and they share the same kernel buffer even though they have different file descriptor number. After cdash see the stdin event and read the stdin data, it continues and sees dev_tty event and tries to read from it. However, as data is read by stdin already, the read() call blocks.

The fix is to continue the loop after successfully reading from the file descriptors. 

This is fixed in Suite 2016


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

Related Articles

No related Articles