310-200 · Question #124
You have two users that are abusing the system by creating scripts that run periodically as cron jobs that continuously harass other users. You have been instructed to disable cron for these two…
The correct answer is B. Remove the /etc/cron.d/cron.allow file and add their names to /etc/cron.d/cron.deny D. Remove their names from the /etc/cron.d/cron.allow file and add their names to /etc/cron.d/cron.deny F. Remove their names from the /etc/cron.d/cron.allow file only. If the default /etc/cron.d/cron.deny exists. See the full explanation below for the reasoning.
Question
You have two users that are abusing the system by creating scripts that run periodically as cron jobs that continuously harass other users. You have been instructed to disable cron for these two users. Which three (what?) describe how to configure the server to block specific users from using cron? (Choose three.)
Options
- AProtect the crontab command so that only privileged users are allowed to run it.
- BRemove the /etc/cron.d/cron.allow file and add their names to /etc/cron.d/cron.deny
- CRemove the crontabs associated with each offending user in the /var/spool/cron/crontabs director.
- DRemove their names from the /etc/cron.d/cron.allow file and add their names to /etc/cron.d/cron.deny
- EAdd their names to the /etc/cron.d/cron.deny file. It is not necessary to remove their names from the
- FRemove their names from the /etc/cron.d/cron.allow file only. If the default /etc/cron.d/cron.deny exists,
How the community answered
(15 responses)- B87% (13)
- C7% (1)
- E7% (1)
Community Discussion
No community discussion yet for this question.