Linux job fails with U02001007 User 'user' is unknown or an invalid password has been provided.

book

Article ID: 211702

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic Workload Automation - Automation Engine

Issue/Introduction

A Linux job on an agent utilizing PAM fails with the following message:

U02001007 User 'user' is unknown or an invalid password has been provided.

The agent ini file has the following specified:

authentication=PAM
libName=libpam.so.0

Cause

Configuration.

Environment

OS: CentOS 8.3.2011

Release : 12.3

Component : Agent Unix

 

Resolution

The PAM binary needed the be changed in the agent's ini file from:

libName=libpam.so.0

To:

libName=/usr/lib64/security/pam_sss.so

Additional Information

The trace file shows the following error:

MAIN-THREAD      20210325/171043.490 PamPasswordCheck: calling pam_acct_mgmt()
MAIN-THREAD      20210325/171043.490 PamPasswordCheck: load address '0x7fed40917ff0' for a function 'pam_acct_mgmt()'
MAIN-THREAD      20210325/171043.496 PamPasswordCheck     calling pam_strerror()
MAIN-THREAD      20210325/171043.496 PamPasswordCheck     load address for function 'pam_strerror': '0x7fed4091d540'
MAIN-THREAD      20210325/171043.496 PamPasswordCheck: function 'pam_acct_mgmt()' returned error 'Permission denied'
MAIN-THREAD      20210325/171043.496 PamEnd() -->
MAIN-THREAD      20210325/171043.496 PamEnd     calling pam_end()