6.39. pam_warn - logs all PAM items
Prev | Chapter 6. A reference guide for available modules | Next

## 6.39. pam_warn - logs all PAM items

`pam_warn.so`

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

### 6.39.2. OPTIONS

This module does not recognise any options.

### 6.39.3. MODULE TYPES PROVIDED

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

### 6.39.4. RETURN VALUES

PAM_IGNORE

  This module always returns PAM_IGNORE.

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

### 6.39.6. AUTHOR

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

Prev | Up | Next
6.38. pam_userdb - authenticate against a db database | Home | 6.40. pam_wheel - only permit root access to members of group wheel