Running jobs as user with nologin
book
Article ID: 277336
calendar_today
Updated On:
Products
CA Automic Workload Automation - Automation Engine
CA Automic One Automation
Issue/Introduction
What are the requirements for running a job in a Linux or UNIX agent when the user has nologin specified (no password)?
Resolution
The following requirements must be met in order for this to work:
- OS requirements:
- The nologin user must have a home directory
- Agent requirements:
- The agent must be at 12.3.9 HF1 if on 12.3.9, and 21.0.4 HF1 or higher if on 21.0.
- The agent binary must still be owned by root and have 4755 for permissions
- allow_nologin_shell must be set to Y in the agent's ini file
- login_check must be set to no in the agent's ini file
- Automic system requirements:
- ANONYMOUS_JOB must be set to "Y" in the agent's UC_HOSTCHAR_* variable in client 0
- The following must be chosen for the shell on the job's UNIX page:
Bourne-Again-Shell; non-login shell (bash)
Feedback
thumb_up
Yes
thumb_down
No