Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

🏠 Back to Blog

Pluggable Authentication Modules (PAM)

  • PAM (Pluggable Authentication Modules) is a flexible mechanism for authenticating users and managing authentication-related tasks in Unix-like operating systems.
  • PAM config files are typically stored in /etc/pam.d
  • PAM modules are typically stored in /lib64/security or /lib/security depending on the architecture.
  • PAM configuration files are text files that define how authentication should be handled for various services and applications
  • Each PAM configuration file corresponds to a specific service or application (e.g., login, sshd, sudo) and contains a series of rules that specify which PAM modules to use and how to use them.