How are PAM modules organized and stored?

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/

Download Printable PDF. VALID exam to help you PASS.

3 thoughts on “How are PAM modules organized and stored?

  1. lab@lab:~$ locate pam_nologin.so
    /lib/x86_64-linux-gnu/security/pam_nologin.so
    /snap/core/9066/lib/x86_64-linux-gnu/security/pam_nologin.so
    /snap/core/9289/lib/x86_64-linux-gnu/security/pam_nologin.so
    lab@lab:~$

  2. I think the answer should be “D”. If you check any of the configuration files that are located in the pam.d, you will see that different directive point to pam modules that are located in /lib/x86_64-linux-gnu/security/ directory. This can be confirmed if you do a simple “locate pam_nologin.so” as an example command and you will see the full path of the pam module in your system.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.