nerdexam
Oracle

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…

Managing System Processes and Scheduling Tasks

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)
  • A
    80% (20)
  • B
    4% (1)
  • C
    4% (1)
  • D
    12% (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

#cron authorization#/etc/cron.d#crontab access#cron deny allow

Community Discussion

No community discussion yet for this question.

Full 1Z0-821 Practice