Error U02000102 - function getpwnam '1-Operation not permitted' in Linux agent
search cancel

Error U02000102 - function getpwnam '1-Operation not permitted' in Linux agent

book

Article ID: 187655

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

 

Getting error U02000102 - function getpwnam '1-Operation not permitted' when running filetransfer in Linux agent

Environment

Release : 12.2, 12.3

Component : AUTOMATION ENGINE

Resolution

The function getpwnam is used for checking user's password which should require the access to /etc/shadow (a text file that contains information about the system's users' password. It is owned by user root & group shadow with 640 permissions).

In this case, the agent is started by user atomic which should not have efficient permissions, hence the error happened.

The solutions for this are either:

- Starting agent via root user. or

- Enable PAM (the pam library pam_unix.so can automatically check password by calling /sbin/unix_chkpwd). or

- set login_check=no in agent's ini and ANONYMOUS_JOB=Y in UC_HOSTCHAR_xxx on client 0, which should enable anonymous executions of job (not checking password)