---
name: "pam_deny"
section: "8"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["linux", "freebsd"]
url: "https://new.carta.tech/pam_deny"
---

# pam\_deny(8)

Deny PAM module

## NAME

**pam\_deny** – Deny PAM module

## SYNOPSIS

\[*service-name*\] *module-type* *control-flag* *pam\_deny* \[*options*\]

## DESCRIPTION

The Deny authentication service module for PAM, **pam\_deny** provides functionality for all the PAM categories: authentication, account management, session management and password management. In terms of the *module-type* parameter, these are the “auth”, “account”, “session”, and “password” features.

The Deny module will universally deny all requests. It is primarily of use during testing, and to “null-out” unwanted functionality.

The following options may be passed to the module:

- **debug**

  [syslog(3)](/syslog/3.md) debugging information at LOG\_DEBUG level.

- **no\_warn**

  suppress warning messages to the user. These messages include reasons why the user's authentication attempt was declined.

## SEE ALSO

[pam(3)](/pam/3.md), [syslog(3)](/syslog/3.md), [pam.conf(5)](/pam.conf/5.md)
