Problem Statement
On Linux, what does Pluggable Authentication Modules (PAM) control?
Explanation
PAM lets each service define a stack of modules for auth, account, password, and session management. You can add multi-factor, set login bans, or force password policies per service without modifying the daemon itself. It is a core building block for access control on Unix-like systems.
Code Solution
SolutionRead Only
/etc/pam.d/sshd includes pam_unix.so, pam_faildelay.so, pam_google_authenticator.so (example)
