اختبار شهادة انظمة اللينكس CompTIA Linux+ XK0-005

السؤال 111 من 122

كل الأسئلة

A systems administrator created a user cron to run a scheduled database backup cronjob on the server at 1 a.m. every day. The following is the cronjob syntax:
01 * * * * /bin/sh backup.sh
The backups, however, are not being created. When checking the crontab file, the administrator sees the following error:
$ cron@localhost:$ crontab -e
/var/spool/cron/crontab/cron: Permission denied
Which of the following will permit the cronjob to execute?

الخيارات

  • A Creating the file cron.allow and adding user cron to it
  • B Giving cron ownership of the file /usr/bin/crontab
  • C Running sudo cron restart to activate the cronjob
  • D Running sudo crontab -u cron -e to edit the file with sudo

النقاشات

لا توجد نقاشات منشورة لهذا السؤال حالياً.