pam

pluggable Authentication Modules

TLDR

Check PAM configuration
$ pam-auth-update
Test PAM authentication
$ pamtester [service] [user] authenticate
View PAM config
$ cat /etc/pam.d/[service]
Debug PAM
$ pam-auth-update --package

SYNOPSIS

pam modules configured in /etc/pam.d/

DESCRIPTION

PAM is Pluggable Authentication Modules. Framework for system authentication.The system provides flexible authentication. Configured per-service.

PARAMETERS

Configuration files in /etc/pam.d/:auth

Authentication token verification.
account
Account validation.
password
Password update.
session
Session setup/teardown.

INSTALL

sudo dnf install pam
sudo pacman -S pam
sudo zypper install pam
nix profile install nixpkgs#pam

CAVEATS

Critical system component. Misconfiguration can lock out users. Test carefully.

HISTORY

PAM was developed by Sun Microsystems as a pluggable authentication framework.

SEE ALSO

pam.conf(5), pam.d(5), login(1)