162 lines
3.0 KiB
HTML
162 lines
3.0 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of PAM_DENY</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>PAM_DENY</H1>
|
|
Section: Linux-PAM Manual (8)<BR>Updated: 05/18/2017<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
pam_deny - The locking-out PAM module
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1">
|
|
<B>pam_deny.so</B>
|
|
</DL>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
<DD>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
|
|
<I>OTHER</I>) entries.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<P>
|
|
|
|
This module does not recognise any options.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>MODULE TYPES PROVIDED</H2>
|
|
|
|
<P>
|
|
|
|
All module types (<B>account</B>,
|
|
<B>auth</B>,
|
|
<B>password</B>
|
|
and
|
|
<B>session</B>) are provided.
|
|
<A NAME="lbAG"> </A>
|
|
<H2>RETURN VALUES</H2>
|
|
|
|
<P>
|
|
|
|
<P>
|
|
|
|
PAM_AUTH_ERR
|
|
<DL COMPACT><DT id="2"><DD>
|
|
This is returned by the account and auth services.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
PAM_CRED_ERR
|
|
<DL COMPACT><DT id="3"><DD>
|
|
This is returned by the setcred function.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
PAM_AUTHTOK_ERR
|
|
<DL COMPACT><DT id="4"><DD>
|
|
This is returned by the password service.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
PAM_SESSION_ERR
|
|
<DL COMPACT><DT id="5"><DD>
|
|
This is returned by the session service.
|
|
</DL>
|
|
|
|
<A NAME="lbAH"> </A>
|
|
<H2>EXAMPLES</H2>
|
|
|
|
<P>
|
|
<DL COMPACT><DT id="6"><DD>
|
|
|
|
|
|
|
|
<PRE>
|
|
#%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
|
|
|
|
</PRE>
|
|
|
|
</DL>
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAI"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<P>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?5+pam.conf">pam.conf</A></B>(5),
|
|
<B><A HREF="/cgi-bin/man/man2html?5+pam.d">pam.d</A></B>(5),
|
|
<B><A HREF="/cgi-bin/man/man2html?7+pam">pam</A></B>(7)
|
|
<A NAME="lbAJ"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
<P>
|
|
|
|
pam_deny was written by Andrew G. Morgan <<A HREF="mailto:morgan@kernel.org">morgan@kernel.org</A>>
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="7"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="8"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="9"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="10"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="11"><A HREF="#lbAF">MODULE TYPES PROVIDED</A><DD>
|
|
<DT id="12"><A HREF="#lbAG">RETURN VALUES</A><DD>
|
|
<DT id="13"><A HREF="#lbAH">EXAMPLES</A><DD>
|
|
<DT id="14"><A HREF="#lbAI">SEE ALSO</A><DD>
|
|
<DT id="15"><A HREF="#lbAJ">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:14 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|