[ SEA-GHOST MINI SHELL]
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Chapter 3. What is expected of a module</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="Linux-PAM_MWG.html" title="The Linux-PAM Module Writers' Guide"><link rel="up" href="Linux-PAM_MWG.html" title="The Linux-PAM Module Writers' Guide"><link rel="prev" href="mwg-expected-by-module-other.html" title="2.2. Other functions provided by libpam"><link rel="next" href="mwg-expected-of-module-overview.html" title="3.1. Overview"></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">Chapter 3. What is expected of a module</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="mwg-expected-by-module-other.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="mwg-expected-of-module-overview.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="mwg-expected-of-module"></a>Chapter 3. What is expected of a module</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="section"><a href="mwg-expected-of-module-overview.html">3.1. Overview</a></span></dt><dd><dl><dt><span class="section"><a href="mwg-expected-of-module-overview.html#mwg-expected-of-module-overview-1">3.1.1. Functional independence</a></span></dt><dt><span class="section"><a href="mwg-expected-of-module-overview.html#mwg-expected-of-module-overview-2">3.1.2. Minimizing administration problems</a></span></dt><dt><span class="section"><a href="mwg-expected-of-module-overview.html#mwg-expected-of-module-overview-3">3.1.3. Arguments supplied to the module</a></span></dt></dl></dd><dt><span class="section"><a href="mwg-expected-of-module-auth.html">3.2. Authentication management</a></span></dt><dd><dl><dt><span class="section"><a href="mwg-expected-of-module-auth.html#mwg-pam_sm_authenticate">3.2.1. Service function for user authentication</a></span></dt><dt><span class="section"><a href="mwg-expected-of-module-auth.html#mwg-pam_sm_setcred">3.2.2. Service function to alter credentials</a></span></dt></dl></dd><dt><span class="section"><a href="mwg-expected-of-module-acct.html">3.3. Account management</a></span></dt><dd><dl><dt><span class="section"><a href="mwg-expected-of-module-acct.html#mwg-pam_sm_acct_mgmt">3.3.1. Service function for account management</a></span></dt></dl></dd><dt><span class="section"><a href="mwg-expected-of-module-session.html">3.4. Session management</a></span></dt><dd><dl><dt><span class="section"><a href="mwg-expected-of-module-session.html#mwg-pam_sm_open_session">3.4.1. Service function to start session management</a></span></dt><dt><span class="section"><a href="mwg-expected-of-module-session.html#mwg-pam_sm_close_session">3.4.2. Service function to terminate session management</a></span></dt></dl></dd><dt><span class="section"><a href="mwg-expected-of-module-chauthtok.html">3.5. Authentication token management</a></span></dt><dd><dl><dt><span class="section"><a href="mwg-expected-of-module-chauthtok.html#mwg-pam_sm_chauthtok">3.5.1. Service function to alter authentication token</a></span></dt></dl></dd></dl></div><p>
The module must supply a sub-set of the six functions listed
below. Together they define the function of a
<span class="emphasis"><em>Linux-PAM module</em></span>. Module developers
are strongly urged to read the comments on security that follow
this list.
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="mwg-expected-by-module-other.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="mwg-expected-of-module-overview.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">2.2.
Other functions provided by <code class="filename">libpam</code>
</td><td width="20%" align="center"><a accesskey="h" href="Linux-PAM_MWG.html">Home</a></td><td width="40%" align="right" valign="top"> 3.1. Overview</td></tr></table></div></body></html>
SEA-GHOST - SHELL CODING BY SEA-GHOST