How are PAM modules organized and stored?

A. As plain text files in /etc/security/
B. A statically linked binaries in /etc/pam.d/bin/
C. As Linux kernel modules within the respective sub directory of /lib/modules/
D. As shared object files within the /lib/ directory hierarchy
E. As dynamically linked binaries in /usr/lib/pam/sbin/

题解

PAM 的模块都是共用对象档,存在「/lib/*/security」中。

所以答案是选项「D」。