LinuxCommandLibrary

pam_deny

always returns failure

TLDR

Deny all authentication

$ auth required pam_deny.so
copy
Block account access
$ account required pam_deny.so
copy
Disable password changes
$ password required pam_deny.so
copy

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)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community