Hi Team,
During the task (description is below) I get an error in crond status:
Nov 06 21:55:01 stapp01.stratos.xfusioncorp.com crond[692]: (CRON) bad minute (/etc/cron.d/cron.allow)
Nov 06 21:55:01 stapp01.stratos.xfusioncorp.com crond[692]: (CRON) bad minute (/etc/cron.d/cron.deny)
My actions:
sudo su
vi /etc/cron.d/cron.allow
vi /etc/cron.d/cron.deny
stemctl restart crond.service
Users exist in the system, cron.allow and cron.deny files exist in cron.d directory indeed, and include only the name of the user without any symbols nor spaces.
Task description:
To stick with the security compliances, the Nautilus project team has decided to apply some restrictions on crontab access so that only allowed users can create/update the cron jobs. Limit crontab access to below specified users on
App Server 1
.Allow crontab access to
james
user and deny the same togarrett
user.
Really appreciate your help