pam.conf-dir.xml 1.2 KB

123456789101112131415161718192021222324252627282930
  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. <para>
  14. The syntax of each file in /etc/pam.d/ is similar to that of the
  15. <filename>/etc/pam.conf</filename> file and is made up of lines
  16. of the following form:
  17. </para>
  18. <programlisting>
  19. type control module-path module-arguments
  20. </programlisting>
  21. <para>
  22. The only difference being that the service-name is not present. The
  23. service-name is of course the name of the given configuration file.
  24. For example, <filename>/etc/pam.d/login</filename> contains the
  25. configuration for the <emphasis remap='B'>login</emphasis> service.
  26. </para>
  27. </section>