1Z0-821 · Question #71
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…
The correct answer is A. /etc/cron.d. 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…
Question
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
Options
- A/etc/cron.d
- B/var/spool/cron
- C/var/spool/cron/crontable
- D/var/spool/cron/atjobs
How the community answered
(25 responses)- A80% (20)
- B4% (1)
- C4% (1)
- D12% (3)
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.
Topics
Community Discussion
No community discussion yet for this question.