» Linux » Examen sur Linux » Examen 201 : Advanced Administration » Section 3 » Question 7/20
7.Several of your users have been scheduling large at jobs to run during peak load times. How can you prevent anyone from scheduling an at job?

Delete the file /etc/at.deny
Create an empty file called /etc/at.deny
Create two empty files: /etc/at.deny and /etc/at.allow
Create an empty file called /etc/at.allow

command. If the file /etc/at.allow exists, only usernames mentioned in it are allowed to use the 'at' command, and the /etc/at.deny file is ignored.

Reference: http://ccrma-www.stanford.edu/planetccrma/man/man5/at.deny.5.html

Incorrect Answers
A: The /etc/at.allow file is read before the /etc/at.deny file. If an /etc/at.allow file exists, any names in that file will be able to use the 'at' command'. Deleting the /etc/at.deny file may work, but only if no /etc/at.allow file exists.
B: An empty file called /etc/at.deny is the default on a Linux system and allows anyone to use the 'at' command.
C: Creating two empty files: /etc/at.deny and /etc/at.allow would also work because an empty /etc/at.allow file would prevent the use of the 'at' command. However, it is unnecessary to create both files.

« Question 6 Question 8 »