Not able to run cron jobs as a specific user

Solution In Progress - Updated -

Issue

Cron jobs are not running for a user1 and you see the errors in /var/log/secure

May 27 14:51:05 example crontab: pam_succeed_if(crond:account): requirement "user ingroup role-sa" not met by user "user1"
May 27 14:51:05 example crontab: pam_succeed_if(crond:account): requirement "user ingroup role-dba" not met by user "user1"
May 27 14:51:05 example crontab: pam_succeed_if(crond:account): requirement "user ingroup role-auditing" not met by user "user1"
May 27 14:51:05 example crontab: pam_succeed_if(crond:account): requirement "user ingroup role-storage" not met by user "user1"
May 27 14:51:05 example crontab: pam_succeed_if(crond:account): requirement "user ingroup role-example-localaccess" not met by user "user1"

Environment

  • Red Hat Enterprise 6.7
  • cron

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content