LPIC-2 Exam 202 (Linux Engineer) — Question 21
Which of the following PAM modules allows the system administrator to use an arbitrary file containing a list of user and group names with restrictions on the system resources available to them?
Answer options
- A. pam_filter
- B. pam_limits
- C. pam_listfile
- D. pam_unix
Correct answer: B
Explanation
The correct answer is B, pam_limits, as it is specifically designed to impose limits on system resources for users and groups based on configurations in a file. Options A, C, and D do not serve this purpose; pam_filter is used for filtering user authentication, pam_listfile checks against a list for access control, and pam_unix manages authentication with traditional Unix accounts.