exam questions

Exam LFCS All Questions

View all questions & answers for the LFCS exam

Exam LFCS topic 1 question 158 discussion

Actual exam question from Linux Foundation's LFCS
Question #: 158
Topic #: 1
[All LFCS Questions]

In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true?

  • A. Without additional configuration, no users may have user specific crontabs.
  • B. Without additional configuration, all users may have 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.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
9866666
5 months, 1 week ago
Selected Answer: B
The correct answer is B. Without additional configuration, all users may have user specific crontabs. Explanation: The existence of /etc/cron.allow and /etc/cron.deny files is a way to control which users are allowed to use the crontab command to manage their own cron jobs. However, these files are optional. If neither file exists, the default behavior is to allow all users to create and manage their own crontabs. If only /etc/cron.allow exists, only the users listed in that file are allowed to use crontab. If only /etc/cron.deny exists, all users are allowed to use crontab except those listed in that file. If both files exist, /etc/cron.allow takes precedence. It's important to note that this behavior might vary slightly depending on the specific Linux distribution and its configuration. However, the general principle remains the same.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...