mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 13:02:35 +08:00
4772256ecf
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1746 af4574ff-66df-0310-9fd7-8a98e5e911e0
48 lines
1.6 KiB
XML
48 lines
1.6 KiB
XML
<sect2>
|
|
<title>Configuring <application>Linux-<acronym>PAM</acronym></application>
|
|
</title>
|
|
|
|
<sect3><title>Config files</title>
|
|
<para><filename>/etc/pam.d</filename> or <filename>/etc/pam.conf</filename>
|
|
</para></sect3>
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
<para>Configuration information is placed in <filename>/etc/pam.d</filename> or
|
|
<filename>/etc/pam.conf</filename> depending on the application that is using
|
|
<application><acronym>PAM</acronym></application>. Below are example files of
|
|
each type:</para>
|
|
|
|
<screen># Begin /etc/pam.d/other
|
|
|
|
auth required pam_unix.so nullok
|
|
account required pam_unix.so
|
|
session required pam_unix.so
|
|
password required pam_unix.so nullok
|
|
|
|
# End /etc/pam.d/other
|
|
|
|
# Begin /etc/pam.conf
|
|
|
|
other auth required pam_unix.so nullok
|
|
other account required pam_unix.so
|
|
other session required pam_unix.so
|
|
other password required pam_unix.so nullok
|
|
|
|
# End /etc/pam.conf</screen>
|
|
|
|
<para>The <application><acronym>PAM</acronym></application> man page
|
|
(<command>man pam</command>) provides a good starting point for descriptions
|
|
of fields and allowable entries. The
|
|
<ulink url="http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/pam.html">
|
|
Linux-PAM guide for system administrators</ulink>
|
|
is recommended for further reading.</para>
|
|
|
|
<para>Refer to <ulink url="http://www.kernel.org/pub/linux/libs/pam/modules.html"/>
|
|
for a list of various modules available.</para>
|
|
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|