# phpman > man > pam_warn(8)

[PAM_WARN(8)](https://www.chedong.com/phpMan.php/man/PAMWARN/8/markdown)                               Linux-PAM Manual                               [PAM_WARN(8)](https://www.chedong.com/phpMan.php/man/PAMWARN/8/markdown)



## NAME
       pam_warn - PAM module which logs all PAM items if called

## SYNOPSIS
       **pam**___**warn.so**

## DESCRIPTION
       pam_warn is a PAM module that logs the service, terminal, user, remote user and remote host
       to [**syslog**(3)](https://www.chedong.com/phpMan.php/man/syslog/3/markdown). 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.

## OPTIONS
       This module does not recognise any options.

## MODULE TYPES PROVIDED
       The **auth**, **account**, **password** and **session** module types are provided.

## RETURN VALUES
       PAM_IGNORE
           This module always returns PAM_IGNORE.

## 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


## SEE ALSO
       [**pam.conf**(5)](https://www.chedong.com/phpMan.php/man/pam.conf/5/markdown), [**pam.d**(5)](https://www.chedong.com/phpMan.php/man/pam.d/5/markdown), [**pam**(7)](https://www.chedong.com/phpMan.php/man/pam/7/markdown)

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



Linux-PAM Manual                             06/08/2020                                  [PAM_WARN(8)](https://www.chedong.com/phpMan.php/man/PAMWARN/8/markdown)
