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?

A. pam_filter
B. pam_limits
C. pam_listfile
D. pam_unix

题解

选项 A,「pam_filter」模块用来作为一个用户和基于 TTY 的应用程序的输入与输出数据的平台。

选项 B,「pam_limits」模块用来限制系统资源。此为正确答案。

选项 C,「pam_listfile」模块可以依据任意文件中列出的用户、群组或是 TTY 等项目,来允许或拒绝使用某个服务。

选项 D,「pam_unix」模块提供了 Unix 的用户验证、授权、密码更改以及工作阶段(session)管理等机制。