PAM_DENY(8)

  .SH "NAME" pam_deny - The locking-out PAM module
  .SH "SYNOPSIS"
    .HP u
      pam_deny.so

  .SH "DESCRIPTION"

    .PP 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.

  .SH "OPTIONS"

    .PP This module does not recognise any options.

  .SH "MODULE TYPES PROVIDED"

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

  .SH "RETURN VALUES"

    .PP
        .PP PAM_AUTH_ERR

                This is returned by the account and auth services.

            .RE
            .PP PAM_CRED_ERR

                    This is returned by the setcred function.

                .RE
                .PP PAM_AUTHTOK_ERR

                        This is returned by the password service.

                    .RE
                    .PP PAM_SESSION_ERR

                            This is returned by the session service.

                        .RE

                  .SH "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

                  .SH "SEE ALSO"

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

                  .SH "AUTHOR"

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