How to avoid error/failure for cronjob by pam even if password expired
(Doc ID 2371239.1)
Last updated on MAY 05, 2020
Applies to:Linux OS - Version Oracle Linux 7.2 and later
Oracle Cloud Infrastructure - Version N/A and later
The system's account will be expire by policy but need to run to cron job by that account.
When expired, cron job was failed by PAM with below message :
Jul 10 00:31:01 hostname1 crond: CRON (xxx) ERROR: failed to open PAM security session: Success
Jul 10 00:31:01 hostname1 crond: CRON (xxx) ERROR: cannot set security context
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document