Sophie

Sophie

distrib > Mandriva > 2010.1 > i586 > media > contrib-updates > by-pkgid > 02e45b2cd6a4a47c88f15dd2f64cf46c > files > 904

cherokee-1.0.8-1mdv2010.1.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Language" content="en-us" />
    <meta name="ROBOTS" content="ALL" />
    <meta http-equiv="imagetoolbar" content="no" />
    <meta name="MSSmartTagsPreventParsing" content="true" />
    <meta name="Keywords" content="cherokee web server httpd http" />
    <meta name="Description" content="Cherokee is a flexible, very fast, lightweight Web server. It is implemented entirely in C, and has no dependencies beyond a standard C library. It is embeddable and extensible with plug-ins. It supports on-the-fly configuration by reading files or strings, TLS/SSL (via GNUTLS or OpenSSL), virtual hosts, authentication, cache friendly features, PHP, custom error management, and much more." />
    <link href="media/css/cherokee_doc.css" rel="stylesheet" type="text/css" media="all" />
  </head>
<body>
<h2 id="_a_href_index_html_index_a_8594_a_href_modules_html_modules_a_8594_a_href_modules_validators_html_validators_a"><a href="index.html">Index</a> &#8594; <a href="modules.html">Modules</a> &#8594; <a href="modules_validators.html">Validators</a></h2>
<div class="sectionbody">
<h3 id="_validator_pam">Validator: PAM</h3><div style="clear:left"></div>
<div class="paragraph"><p>The pam validator uses the <strong>Pluggable Authentication Module</strong> to validate the
username/password combination.</p></div>
<h4 id="parameters">Parameters</h4>
<div class="paragraph"><p>Users: You can restrict to some local system users</p></div>
<h4 id="compatibility">Compatibility</h4>
<div class="paragraph"><p>This validator is compatible with the <strong>basic</strong> scheme.</p></div>
<h4 id="example">Example</h4>
<div class="imageblock">
<div class="content">
<img src="media/images/admin_validators_pam.png" alt="media/images/admin_validators_pam.png" />
</div>
</div>
<div class="paragraph"><p>Requires a valid user and password system pair to access the protected
directory. It will be available for all local users, unless a
restriction list is provided.</p></div>
<h4 id="notes">Notes</h4>
<div class="paragraph"><p>The PAM approach ensures a dynamic configuration for how the
authentication is performed. This dynamic configuration must be
specified. This means that a /etc/pam.d/cherokee file must define the
connection between Cherokee and the pluggable authentication modules
that perform the actual authentication tasks.</p></div>
<div class="paragraph"><p>Cherokee&#8217;s installation procedure already takes care of the creation
of such file (under /etc or whatever system configuration directory is
used in your platform of choice). If you consistently fail to use the
PAM validator, make sure that such configuration definitions are set.</p></div>
<div class="listingblock">
<div class="title">Sample: /etc/pam.d/cherokee</div>
<div class="content">
<pre><tt>#
# The PAM configuration file for Cherokee
#

account    required   pam_unix.so
auth       required   pam_unix.so nullok
auth       required   pam_env.so
session    required   pam_unix.so</tt></pre>
</div></div>
</div>
<div id="footer">
<div id="footer-text">
</div>
</div>
</body>
</html>