[ SEA-GHOST MINI SHELL]
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>6.39. pam_warn - logs all PAM items</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="Linux-PAM_SAG.html" title="The Linux-PAM System Administrators' Guide"><link rel="up" href="sag-module-reference.html" title="Chapter 6. A reference guide for available modules"><link rel="prev" href="sag-pam_userdb.html" title="6.38. pam_userdb - authenticate against a db database"><link rel="next" href="sag-pam_wheel.html" title="6.40. pam_wheel - only permit root access to members of group wheel"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">6.39. pam_warn - logs all PAM items</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="sag-pam_userdb.html">Prev</a> </td><th width="60%" align="center">Chapter 6. A reference guide for available modules</th><td width="20%" align="right"> <a accesskey="n" href="sag-pam_wheel.html">Next</a></td></tr></table><hr></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="sag-pam_warn"></a>6.39. pam_warn - logs all PAM items</h2></div></div></div><div class="cmdsynopsis"><p><code class="command">pam_warn.so</code> </p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sag-pam_warn-description"></a>6.39.1. DESCRIPTION</h3></div></div></div><p>
pam_warn is a PAM module that logs the service, terminal, user,
remote user and remote host to
<span class="citerefentry"><span class="refentrytitle">syslog</span>(3)</span>. The items are not probed for, but instead obtained
from the standard PAM items. The module always returns
<span class="emphasis"><em>PAM_IGNORE</em></span>, indicating that it
does not want to affect the authentication process.
</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sag-pam_warn-options"></a>6.39.2. OPTIONS</h3></div></div></div><p>This module does not recognise any options.</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sag-pam_warn-types"></a>6.39.3. MODULE TYPES PROVIDED</h3></div></div></div><p>
The <code class="option">auth</code>, <code class="option">account</code>,
<code class="option">password</code> and <code class="option">session</code> module
types are provided.
</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sag-pam_warn-return_values"></a>6.39.4. RETURN VALUES</h3></div></div></div><div class="variablelist"><dl class="variablelist"><dt><span class="term">PAM_IGNORE</span></dt><dd><p>
This module always returns PAM_IGNORE.
</p></dd></dl></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sag-pam_warn-examples"></a>6.39.5. EXAMPLES</h3></div></div></div><pre class="programlisting">
#%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></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="sag-pam_warn-author"></a>6.39.6. AUTHOR</h3></div></div></div><p>
pam_warn was written by Andrew G. Morgan <morgan@kernel.org>.
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="sag-pam_userdb.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="sag-module-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="sag-pam_wheel.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">6.38. pam_userdb - authenticate against a db database </td><td width="20%" align="center"><a accesskey="h" href="Linux-PAM_SAG.html">Home</a></td><td width="40%" align="right" valign="top"> 6.40. pam_wheel - only permit root access to members of group wheel</td></tr></table></div></body></html>
SEA-GHOST - SHELL CODING BY SEA-GHOST