2002-09-23 00:01:27 +08:00
|
|
|
<sect2>
|
2003-09-23 00:23:23 +08:00
|
|
|
<title>Configuring <application>Linux-<acronym>PAM</acronym></application>
|
2003-09-13 23:01:40 +08:00
|
|
|
</title>
|
2002-09-23 00:01:27 +08:00
|
|
|
|
|
|
|
<sect3><title>Config files</title>
|
2003-09-13 23:01:40 +08:00
|
|
|
<para><filename>/etc/pam.d</filename> or <filename>/etc/pam.conf</filename>
|
|
|
|
</para></sect3>
|
2002-09-23 00:01:27 +08:00
|
|
|
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
|
2003-09-13 23:01:40 +08:00
|
|
|
<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>
|
2002-09-23 00:01:27 +08:00
|
|
|
|
2003-04-06 08:30:53 +08:00
|
|
|
<screen># Begin /etc/pam.d/other
|
2002-09-23 00:01:27 +08:00
|
|
|
|
|
|
|
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>
|
|
|
|
|
2003-09-27 22:11:33 +08:00
|
|
|
<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
|
2003-09-13 23:01:40 +08:00
|
|
|
<ulink url="http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/pam.html">
|
2003-10-03 14:27:09 +08:00
|
|
|
Linux-PAM guide for system administrators</ulink>
|
|
|
|
is recommended for further reading.</para>
|
2002-09-23 00:01:27 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|