logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pam_warn - PAM module which logs all PAM items if called

Author

       pam_warn was written by Andrew G. Morgan <morgan@kernel.org>.

Linux-PAM                                          07/03/2025                                        PAM_WARN(8)

Description

       pam_warn is a PAM module that logs the service, terminal, user, remote user and remote host to syslog(3).
       The items are not probed for, but instead obtained from the standard PAM items. The module always returns
       PAM_IGNORE, indicating that it does not want to affect the authentication process.

Examples

           #%PAM-1.0
           #
           # If we don't have config entries for a service, the
           # OTHER entries are used. To be secure, warn and deny
           # access to everything.
           other auth     required       pam_warn.so
           other auth     required       pam_deny.so
           other account  required       pam_warn.so
           other account  required       pam_deny.so
           other password required       pam_warn.so
           other password required       pam_deny.so
           other session  required       pam_warn.so
           other session  required       pam_deny.so

Module Types Provided

       The auth, account, password and session module types are provided.

Name

       pam_warn - PAM module which logs all PAM items if called

Options

       This module does not recognise any options.

Return Values

       PAM_IGNORE
           This module always returns PAM_IGNORE.

See Also

pam.conf(5), pam.d(5), pam(7)

Synopsis

pam_warn.so

See Also