Cron strangeness

Good Morning Fellow Admins!

I have a v880 running Sol9. The cron daemon is executing a crontab for a user and the user is in /etc/cron.d/cron.deny.

/etc/cron.d/cron.allow exists and the user is not in it.

What am I missing?

Thanks in Advance!

Tony

remove the user id from /etc/cron.d/cron.deny and add it to /etc/cron.d/cron.allow

Wouldn't this allow the user to run a crontab? :confused: I'm trying to find out why this user's crontab is running when the user is in the cron.deny file.

You are both misunderstanding the cron.deny and cron.allow purpose.

They do not prevent existing cron tasks to be run for the denied users, they prevent these users to run the crontab command in order to add and remove jobs.

$ crontab -e
crontab: you are not authorized to use cron.  Sorry.