A Pluggable Authentication Module (PAM) is the AAA (Authentication, Authorization, and Accounting) framework used in most Linux/Unix systems.
Abstractly, PAM provides this basic API:
Inputs:string usernamestring passwordOutput:bool success
Anything that prompts the user for a password (such as
sshd, Web server back-ends, and the Linux login console) can query PAM for a login result.
Last modified: October 12, 2022