Show Table of Contents
27.2.7. Controlling Access to At and Batch
You can restrict the access to the
at and batch commands using the /etc/at.allow and /etc/at.deny files. These access control files use the same format defining one user name on each line. Mind that no whitespace are permitted in either file.
If the file
at.allow exists, only users listed in the file are allowed to use at or batch, and the at.deny file is ignored.
If
at.allow does not exist, users listed in at.deny are not allowed to use at or batch.
The
at daemon (atd) does not have to be restarted if the access control files are modified. The access control files are read each time a user tries to execute the at or batch commands.
The root user can always execute
at and batch commands, regardless of the content of the access control files.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.