Which statement best describes how cron access is controlled on a Linux system?

Prepare for the Red Hat Certified Systems Admin Exam EX200. Enhance your skills with interactive quizzes, flashcards, and detailed explanations. Ace your certification exam today!

Multiple Choice

Which statement best describes how cron access is controlled on a Linux system?

Explanation:
Cron access is controlled by two files that act as allow/deny lists. If the file that explicitly lists allowed users exists, only those users can run crontab. If that file isn’t present, the system checks the deny file and blocks any user listed there; everyone else is permitted to use cron. This two-file approach is why describing cron access as being governed by both /etc/cron.allow and /etc/cron.deny is most accurate—the allow file sets the allowed set when present, and the deny file provides the fallback when the allow file is absent. PAM isn’t the primary mechanism controlling who can use cron in this standard setup.

Cron access is controlled by two files that act as allow/deny lists. If the file that explicitly lists allowed users exists, only those users can run crontab. If that file isn’t present, the system checks the deny file and blocks any user listed there; everyone else is permitted to use cron. This two-file approach is why describing cron access as being governed by both /etc/cron.allow and /etc/cron.deny is most accurate—the allow file sets the allowed set when present, and the deny file provides the fallback when the allow file is absent. PAM isn’t the primary mechanism controlling who can use cron in this standard setup.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy