You can restrict the access to the
batch commands using the
/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
batch, and the
at.deny file is ignored.
at.allow does not exist, users listed in
at.deny are not allowed to use
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
The root user can always execute
batch commands, regardless of the content of the access control files.