PAM Authentication on Unix Agent not working:U02001007 User '<domain>\<username>' is unknown or an invalid password has been provided.
search cancel

PAM Authentication on Unix Agent not working:U02001007 User '<domain>\<username>' is unknown or an invalid password has been provided.

book

Article ID: 88272

calendar_today

Updated On: 06-03-2025

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

PAM Authentication on the Unix Agent does not work and fails with the error message below in the agent's log

U02000005 Job 'JOBS.UNIX.DOMAIN2' with RunID '1181189' started. 
U02001007 User '<domain>\<userbname>' is unknown or an invalid password has been provided. 

Environment

OS: Unix

Resolution

The issue could be a configuration in  /etc/pam.d/ucxjlx6 . Normally, the following entries should be enough:

Redhat Linux (updated for RHEL 9)

#%PAM-1.0
session required pam_limits.so
session required pam_unix.so

auth required pam_debug.so
account required pam_debug.so
auth      include      password-auth
account   include      password-auth
 
 
Suse Linux
 
#%PAM-1.0
auth          include      common-auth
account       include      common-auth
password      include      common-auth
 


Depending on your OS and configuration of PAM, you may need to customize the /etc/pam.d/ucxjlx6 file.

However, it is always advisable to test your PAM configuration with a pamt
ester.

You should also make sure that the binary ucxjlx6 has the setuid set:

  • chown root ucxjlx6
  • chmod 4755 ucxjlx6

Additional Information

03/06/2025: AFR: added modifications for RHEL9