How are PAM modules organized and stored?
How are PAM modules organized and stored?
PAM (Pluggable Authentication Modules) modules are organized and stored as shared object files within the /lib/ directory hierarchy. This storage method allows for flexible and modular authentication processes. Shared object files have the extension .so and are dynamically loaded as needed by the authentication processes, ensuring a standardized and efficient management of authentication modules in Linux systems.
D is the correct answer
PAM modules files are shared objects so D is the only valid option
as per my prep materials (and irl checks) the correct answer is /usr/lib/security or /usr/lib64/security (also IRL checked on Centos5.5/7.8/Debian10.3) - I'm really confused, right here. The Question is malformed? /etc/security has some relevance, for the config...
https://linuxacademy.com/community/show/29257-lpic-202-topic-2102-pam-authentication/
D is correct answer
The pam modules are stored as shared object files (.so) in /lib/security/. A directory sbin has nothing to do in /usr/lib. So E is definitely wrong. D is correct.
Yes, I think D is the correct answer as well. See this reference: https://askubuntu.com/questions/1125440/finding-pam-module
https://linux.die.net/man/5/pam.d module-path is either the full filename of the PAM to be used by the application (it begins with a '/'), or a relative pathname from the default module location: /lib/security/ or /lib64/security/, depending on the architecture.
PAM Modules are Shared Objects .so so that part is true. and they re located in /lib. check it yourself: find /lib/ -name "pam_permit.so" on Ubuntu it gives "/lib/x86_64-linux-gnu/security/pam_permit.so"