LinuxCommandLibrary

pam_debug

PAM debugging module

TLDR

Enable in PAM config
$ auth optional pam_debug.so
copy
Enable with custom output
$ auth optional pam_debug.so auth=authinfo_unavail
copy

SYNOPSIS

pam_debug.so [options]

DESCRIPTION

pam_debug is a PAM debugging module. Forces specific return values.
The module aids PAM stack debugging. Not for production use.

PARAMETERS

auth=VALUE

Auth return value.
cred=VALUE
Credential return value.
acct=VALUE
Account return value.
prechauthtok=VALUE
Pre-change authtoken value.
chauthtok=VALUE
Change authtoken value.
open_session=VALUE
Open session value.
close_session=VALUE
Close session value.

CAVEATS

Development/testing only. Not for production. Can break authentication.

HISTORY

pam_debug was created for testing PAM configurations during development.

SEE ALSO

pam(8), pam.d(5)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard