LPIC-1 Exam 102 v5 (Linux Administrator) — Question 92
How can a specific user be prevented from scheduling tasks with at?
Answer options
- A. By adding the specific user to the /etc/at.allow file.
- B. By adding the specific user to the [deny] section in the /etc/atd.conf file.
- C. By adding the specific user to the nojobs group.
- D. By adding the specific user to the /etc/at.deny file.
- E. By executing the atd --deny [user] command.
Correct answer: D
Explanation
The correct answer is D, as adding a user to the /etc/at.deny file explicitly prevents them from scheduling tasks with at. Options A and B are incorrect because they either grant permission or do not specifically address the at command's scheduling capabilities. Option C does not affect the at command, and option E is not a valid command for denying a user.