PAM, or Pluggable Authentication Modules, is a modular authentication framework on Linux and Unix systems. Services such as SSH, login, sudo, and display managers call into PAM to verify users and apply policies. Because PAM sits in the login path, it can enforce rules like password checks, MFA prompts, account locking, and access restrictions without changing every application individually.
In cyber security, PAM matters because compromising this layer can expose credentials or alter authentication decisions. Attackers may try to install a malicious PAM module, intercept passwords as they are submitted, or create a hidden path that grants access after normal checks. Defenders monitor PAM configuration files, module paths, and package integrity, and they review SSH and privilege-escalation workflows for unexpected authentication behavior. Protecting PAM helps protect the boundary where local access becomes system control.


