Exam LFCS All QuestionsBrowse all questions from this exam
Question 124

SIMULATION -

Which file specifies the user accounts that can NOT submit jobs via at or batch? (Provide the full path and filename)

    Correct Answer:

    The file that specifies the user accounts that cannot submit jobs via at or batch is /etc/at.deny. This file contains a list of usernames, each on a new line, and if a user's name appears in this file, they will not be allowed to submit jobs using the at and batch commands. It should be noted that if the /etc/at.deny file does not exist and there is no /etc/at.allow file, all users are permitted to submit jobs. The /etc/at.allow file, if it exists, will take precedence and only the users listed in that file will be allowed to submit jobs, regardless of their presence in /etc/at.deny.

Discussion
9866666

The file that specifies the user accounts that cannot submit jobs via at or batch is: /etc/at.deny This file contains a list of usernames, one per line. If a user's name is listed in this file, they will be prevented from submitting jobs using the at and batch commands. If the file doesn't exist, it is assumed that all users are allowed to submit jobs. There is also a corresponding /etc/at.allow file. If it exists, only the users listed in that file are allowed to submit jobs, regardless of whether their names appear in /etc/at.deny.