]> granicus.if.org Git - linux-pam/blob - doc/man/pam.conf-dir.xml
Relevant BUGIDs:
[linux-pam] / doc / man / pam.conf-dir.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
3                    "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
4 <section id='pam.conf-dir'>
5     <para>
6       More flexible than the single configuration file is it to
7       configure libpam via the contents of the
8       <filename>/etc/pam.d/</filename> directory. In this case the
9       directory is filled with files each of which has a filename
10       equal to a service-name (in lower-case): it is the personal
11       configuration file for the named service.
12     </para>
13
14     <para>
15       The syntax of each file in /etc/pam.d/ is similar to that of the
16       <filename>/etc/pam.conf</filename> file and is made up of lines
17       of the following form:
18     </para>
19
20     <programlisting>
21 type  control  module-path  module-arguments
22     </programlisting>
23
24     <para>
25       The only difference being that the service-name is not present. The
26       service-name is of course the name of the given configuration file.
27       For example, <filename>/etc/pam.d/login</filename> contains the
28       configuration for the <emphasis remap='B'>login</emphasis> service.
29     </para>
30 </section>