exam questions

Exam 102-500 All Questions

View all questions & answers for the 102-500 exam

Exam 102-500 topic 1 question 108 discussion

Actual exam question from LPI's 102-500
Question #: 108
Topic #: 1
[All 102-500 Questions]

How can a specific user be prevented from scheduling tasks with at?

  • A. By adding the specific user to the /etc/at.allow file.
  • B. By adding the specific user to the [deny] section in the /etc/atd.conf file.
  • C. By adding the specific user to the nojobs group.
  • D. By adding the specific user to the /etc/at.deny file.
  • E. By executing the atd --deny [user] command.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
drliu1202
Highly Voted 10 months, 2 weeks ago
Selected Answer: D
Configure Access to Job Scheduling Authorization for ordinary users to schedule at jobs is determined by the /etc/at.allow and /etc/at.deny files. If /etc/at.allow exists, only non-root users listed within it can schedule at jobs. If /etc/at.allow does not exist but /etc/at.deny exists, only non-root users listed within it cannot schedule at jobs (in this case an empty /etc/at.deny file means that each user is allowed to schedule at jobs). If neither of these files exist, the user’s access to at job scheduling depends on the distribution used. https://learning.lpi.org/en/learning-materials/102-500/107/107.2/107.2_02/
upvoted 5 times
...
blk_542
Most Recent 1 day, 1 hour ago
Selected Answer: D
In summary, The logic for at usage is: If /etc/at.allow exists, only non-root users listed within it can schedule jobs. If /etc/at.deny exists, only non-root users listed within it cannot schedule jobs. If none of them exists: permission for non-root scheduling is distro dependent.
upvoted 2 times
...
xubuntu
2 weeks, 2 days ago
D is the correct answer
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago