pam_deny
always returns failure
TLDR
Deny all authentication
$ auth required pam_deny.so
Block account access$ account required pam_deny.so
Disable password changes$ password required pam_deny.so
SYNOPSIS
pam_deny.so
DESCRIPTION
pam_deny always returns failure. Used to block authentication.
The module denies all requests unconditionally. Security failsafe module.
PARAMETERS
No parameters. Always returns failure.
CAVEATS
No configuration options. Use carefully to avoid lockout.
HISTORY
pam_deny provides a universal deny module for PAM configurations.
SEE ALSO
pam(8), pam_permit(8)
