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-3130: Error "client.sudo Unexpected error in conversation"

Centrify DirectAudit ,   Centrify DirectControl ,   Centrify Identity Service, Mac Edition ,  

12 April,16 at 11:09 AM

Applies to: All versions of Centrify DirectControl
 
Question:

No error message appears in the terminal when running sudo command. 
 
However debug logs show "client.sudo Unexpected error in conversation

May  3 10:30:50 gbl03303 adclient[19085]: DEBUG <fd:25 sudo(17674)> client.sudo Prompt user for PAM_AUTHTOK: 'Password: '
May  3 10:30:51 gbl03303 adclient[19085]: WARN  <fd:25 sudo(17674)> client.sudo Unexpected error in conversation: PAM_AUTH_ERR(7)


What is this error?


Answer:

If one of the password characters was either Control+c, Control+d or something that PAM can't manage when running sudo, it will return with an "Unexpected error in conversation: PAM_AUTH_ERR(7)" PAM error.

Since the user is being prompted for password when running the sudo command, it ends up error in the form of "client.sudo Unexpected error in conversation: PAM_AUTH_ERR(7)"

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