pam_deny(8) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | MODULE TYPES PROVIDED | RETURN VALUES | EXAMPLES | SEE ALSO | AUTHOR | COLOPHON

PAM_DENY(8)                 Linux-PAM Manual                 PAM_DENY(8)

NAME         top

       pam_deny - The locking-out PAM module

SYNOPSIS         top


       pam_deny.so

DESCRIPTION         top

       This module can be used to deny access. It always indicates a
       failure to the application through the PAM framework. It might be
       suitable for using for default (the OTHER) entries.

OPTIONS         top

       This module does not recognise any options.

MODULE TYPES PROVIDED         top

       All module types (account, auth, password and session) are
       provided.

RETURN VALUES         top

       PAM_AUTH_ERR
           This is returned by the account and auth services.

       PAM_CRED_ERR
           This is returned by the setcred function.

       PAM_AUTHTOK_ERR
           This is returned by the password service.

       PAM_SESSION_ERR
           This is returned by the session service.

EXAMPLES         top

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

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

AUTHOR         top

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

COLOPHON         top

       This page is part of the linux-pam (Pluggable Authentication
       Modules for Linux) project.  Information about the project can be
       found at ⟨http://www.linux-pam.org/⟩.  If you have a bug report
       for this manual page, see ⟨//www.linux-pam.org/⟩.  This page was
       obtained from the project's upstream Git repository
       ⟨https://github.com/linux-pam/linux-pam.git⟩ on 2023-12-22.  (At
       that time, the date of the most recent commit that was found in
       the repository was 2023-12-18.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       man-pages@man7.org

Linux-PAM Manual               12/22/2023                    PAM_DENY(8)