You have a user that needs to use the cron tool to schedule some repetitive tasks. When the user enters the
crontab –e command in a terminal window, the following error appears:
crontab: you are not authorized to use cron. Sorry
In order to troubleshoot this issue, in what directory would you start your invest
A.
/etc/cron.d
B.
/var/spool/cron
C.
/var/spool/cron/crontable
D.
/var/spool/cron/atjobs
Explanation:
crontab: you are not authorized to use cron. Sorry.
This message means that either the user is not listed in the cron.allow file (if the file exists), or the user is listed
in the cron.deny file.
You can control access to the crontab command by using two files in the /etc/cron.d directory: cron.deny and
cron.allow. These files permit only specified users to perform crontab command tasks such as creating, editing,
displaying, or removing their own crontab files.
The cron.deny and cron.allow files consist of a list of user names, one user name per line.