Linux_FoundationLinux_Foundation
LFCS · Question #300
LFCS Question #300: Real Exam Question with Answer & Explanation
The correct answer is C: Add the specific user to /etc/at.deny file.. To prevent a specific user from scheduling tasks using the at command, their username should be added to the /etc/at.deny file.
Submitted by lukas.cz· Apr 18, 2026User and Group Management
Question
To prevent a specific user from scheduling tasks with at, which of the following should the administrator do?
Options
- AAdd the specific user to /etc/at.allow file.
- BAdd the specific user to [deny] section in the /etc/atd.conf file.
- CAdd the specific user to /etc/at.deny file.
- DAdd the specific user to nojobs group.
- ERun the following: atd --deny [user].
Explanation
To prevent a specific user from scheduling tasks using the at command, their username should be added to the /etc/at.deny file.
Common mistakes.
- A. Adding a user to
/etc/at.allowwould grant them permission to useat, not deny them, assuming/etc/at.allowexists and takes precedence. - B. There is no standard
[deny]section in/etc/atd.conffor directly denying users access toatjobs; user access is controlled byat.allowandat.denyfiles. - D. There is no standard
nojobsgroup that specifically controlsataccess;ataccess is managed via theat.allowandat.denyconfiguration files. - E.
atdis the daemon that runsatjobs, and--denyis not a standard option foratdto deny a specific user's scheduling capability; user access is managed through configuration files.
Concept tested. at command user access control
Reference. https://manpages.ubuntu.com/manpages/jammy/en/man1/at.1.html
Topics
#at command#Job scheduling#User access control#Configuration files
Community Discussion
No community discussion yet for this question.