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-8433: SSH authentication attempt appears to hang with DirectAudit 3.3.1 on AIX

Centrify DirectAudit ,   Centrify DirectControl ,  

24 March,17 at 03:13 PM

Applies to: Centrify DirectAudit 3.3.1 on All Versions of AIX


Problem:

When DirectAudit 3.3.1 on AIX is enabled, SSH attempts appear to hang before the login process completes.

If DirectAudit is disabled or the user is added to the dash.skiplist.user in the /etc/centrifyda/centrifyda/.conf, the user can then login without any issues.


Cause:

When DirectAudit (dad) is running, it will open a LRPC2 socket in /var/centrifydc/audit.

If the LRPC2 socket (/var/centrifyda/audit) is not accessible because world bit has no read/execute permission to /var/centrifyda, all LRPC2 non-root clients cannot connect to the socket. Cdash is run as the login user who is not root.

In this scenario, the rights on /var/centrifyda were set to 750, instead of 755.
 
ls -ld /var/centrifyda
drwxr-x--- 8 root system 4096 Jan 11 08:55 /var/centrifyda

Because of the incorrect directory permissions, the non-root user was unable to connect to the LPRC2 socket to complete the SSH authentication.
 

Resolution:

Verify the directory permissions are set 755 for the /var/centrifyda directory
 
ls -ld /var/centrifyda

If not, change the directory permissions to 755
 
chmod 755 /var/centrifyda

After making the change, users will be able to SSH without it hanging when DirectAudit is enabled on the system.

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