Modules: The Definitiv... - Pluggable Authentication
: New authentication technologies (like biometrics or MFA) can be added without recompiling applications.
: Multiple modules can be combined (stacked) to require multiple forms of authentication, such as a traditional password followed by a One-Time Password (OTP). Configuration File Anatomy Pluggable Authentication Modules: The Definitiv...
PAM configurations are primarily stored in /etc/pam.d/ , where each file is named after a specific service (e.g., sshd , sudo , login ). Each rule in these files follows a specific four-part syntax: PAM Module Control Flags - Linux : New authentication technologies (like biometrics or MFA)