---
name: "pam_warn"
section: "8"
platform: "linux"
package: "pam"
version: "1.7.3-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/pam_warn"
---

# pam\_warn(8)

PAM module which logs all PAM items if called

## 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)](/syslog/3.md). 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)](/pam.conf/5.md), [**pam.d**(5)](/pam.d/5.md), [**pam**(8)](/pam/8.md)

## AUTHOR

pam\_warn was written by Andrew G. Morgan \<morgan@kernel.org\>.
