LPIC-1 Exam 102 v5 (Linux Administrator) — Question 116
If neither cron.allow nor cron.deny exist in /etc/, which of the following is true?
Answer options
- A. Without additional configuration, all users may create user specific crontabs.
- B. Without additional configuration, only root may create user specific crontabs.
- C. The cron daemon will refuse to start and report missing files in the system's logfile.
- D. When a user creates a user specific crontab the system administrator must approve it explicitly.
- E. The default settings of /etc/crond.conf define whether or not user specific crontabs are generally allowed or not.
Correct answer: B
Explanation
The correct answer is B because when neither cron.allow nor cron.deny files are present, by default only the root user is permitted to create user-specific crontabs. Options A, C, D, and E are incorrect as they misrepresent the default behavior of the cron system in the absence of those configuration files.