PATH:
usr
/
share
/
doc
/
pam-1.1.8
/
html
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>4.2. Directory based configuration</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-configuration.html" title="Chapter 4. The Linux-PAM configuration file"><link rel="prev" href="sag-configuration-file.html" title="4.1. Configuration file syntax"><link rel="next" href="sag-configuration-example.html" title="4.3. Example configuration file entries"></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">4.2. Directory based configuration</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="sag-configuration-file.html">Prev</a> </td><th width="60%" align="center">Chapter 4. The Linux-PAM configuration file</th><td width="20%" align="right"> <a accesskey="n" href="sag-configuration-example.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-configuration-directory"></a>4.2. Directory based configuration</h2></div></div></div><p> More flexible than the single configuration file is it to configure libpam via the contents of the <code class="filename">/etc/pam.d/</code> directory. In this case the directory is filled with files each of which has a filename equal to a service-name (in lower-case): it is the personal configuration file for the named service. </p><p> The syntax of each file in /etc/pam.d/ is similar to that of the <code class="filename">/etc/pam.conf</code> file and is made up of lines of the following form: </p><pre class="programlisting"> type control module-path module-arguments </pre><p> The only difference being that the service-name is not present. The service-name is of course the name of the given configuration file. For example, <code class="filename">/etc/pam.d/login</code> contains the configuration for the <span class="emphasis"><em>login</em></span> service. </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="sag-configuration-file.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="sag-configuration.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="sag-configuration-example.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">4.1. Configuration file syntax </td><td width="20%" align="center"><a accesskey="h" href="Linux-PAM_SAG.html">Home</a></td><td width="40%" align="right" valign="top"> 4.3. Example configuration file entries</td></tr></table></div></body></html>
[-] sag-pam_lastlog.html
[edit]
[-] sag-pam_succeed_if.html
[edit]
[-] sag-introduction.html
[edit]
[-] sag-configuration-example.html
[edit]
[-] sag-pam_limits.html
[edit]
[-] sag-configuration-file.html
[edit]
[-] sag-pam_group.html
[edit]
[-] sag-pam_access.html
[edit]
[-] sag-pam_cracklib.html
[edit]
[-] sag-pam_securetty.html
[edit]
[-] sag-pam_xauth.html
[edit]
[-] sag-copyright.html
[edit]
[-] sag-pam_issue.html
[edit]
[-] sag-pam_filter.html
[edit]
[-] sag-pam_namespace.html
[edit]
[-] sag-pam_userdb.html
[edit]
[+]
..
[-] sag-pam_rhosts.html
[edit]
[-] sag-pam_selinux.html
[edit]
[-] sag-see-also.html
[edit]
[-] sag-pam_unix.html
[edit]
[-] sag-pam_pwhistory.html
[edit]
[-] Linux-PAM_SAG.html
[edit]
[-] sag-text-conventions.html
[edit]
[-] sag-pam_tally.html
[edit]
[-] sag-pam_rootok.html
[edit]
[-] sag-pam_localuser.html
[edit]
[-] sag-pam_keyinit.html
[edit]
[-] sag-pam_debug.html
[edit]
[-] sag-pam_umask.html
[edit]
[-] sag-module-reference.html
[edit]
[-] sag-configuration.html
[edit]
[-] sag-pam_tally2.html
[edit]
[-] sag-configuration-directory.html
[edit]
[-] sag-pam_warn.html
[edit]
[-] sag-pam_ftp.html
[edit]
[-] sag-pam_mail.html
[edit]
[-] sag-pam_listfile.html
[edit]
[-] sag-pam_echo.html
[edit]
[-] sag-pam_nologin.html
[edit]
[-] sag-pam_faildelay.html
[edit]
[-] sag-pam_permit.html
[edit]
[-] sag-pam_mkhomedir.html
[edit]
[-] sag-overview.html
[edit]
[-] sag-pam_env.html
[edit]
[-] sag-author.html
[edit]
[-] sag-pam_exec.html
[edit]
[-] sag-pam_deny.html
[edit]
[-] sag-pam_time.html
[edit]
[-] sag-pam_shells.html
[edit]
[-] sag-pam_motd.html
[edit]
[-] sag-pam_loginuid.html
[edit]
[-] sag-pam_wheel.html
[edit]
[-] sag-security-issues.html
[edit]
[-] sag-pam_timestamp.html
[edit]
[-] sag-security-issues-wrong.html
[edit]
[-] sag-security-issues-other.html
[edit]