Author: dj
Date: 2007-01-26 22:08:50 -0700 (Fri, 26 Jan 2007)
New Revision: 6471
Modified:
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/postlfs/security/shadow.xml
Log:
Added /etc/pam.d directory to shadow instructions
Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml 2007-01-27 02:18:09 UTC
(rev 6470)
+++ trunk/BOOK/introduction/welcome/changelog.xml 2007-01-27 05:08:50 UTC
(rev 6471)
@@ -45,6 +45,10 @@
<para>January 26th, 2007</para>
<itemizedlist>
<listitem>
+ <para>[dj] - Modified Linux-PAM configuration in the Shadow
+ instructions.</para>
+ </listitem>
+ <listitem>
<para>[dj] - Updated to vsftpd-2.0.5.</para>
</listitem>
<listitem>
Modified: trunk/BOOK/postlfs/security/shadow.xml
===================================================================
--- trunk/BOOK/postlfs/security/shadow.xml 2007-01-27 02:18:09 UTC (rev
6470)
+++ trunk/BOOK/postlfs/security/shadow.xml 2007-01-27 05:08:50 UTC (rev
6471)
@@ -190,7 +190,7 @@
<title>Configuring Linux-PAM to Work with Shadow</title>
<note>
- <para>The rest of the page is devoted to configuring
+ <para>The rest of this page is devoted to configuring
<application>Shadow</application> to work properly with
<application>Linux-PAM</application>. If you do not have
<application>Linux-PAM</application> installed, and you reinstalled
@@ -301,12 +301,29 @@
<sect4>
<title>Configuring the /etc/pam.d/ Files</title>
- <para>Add the following <application>Linux-PAM</application>
configuration
- files to <filename class="directory">/etc/pam.d/</filename> (or add
them
- to <filename>/etc/pam.conf</filename> with the additional field for
- the program). Issue the commands as the
- <systemitem class="username">root</systemitem> user:</para>
+ <para>As mentioned previously, in the
+ <application>Linux-PAM</application> instructions,
+ <application>Linux-PAM</application> has two supported methods for
+ configuration. The commands below assume that you've chosen to use
+ a directory based configuration, where each program has it's own
+ configuration file. You can optionally use a single
+ <filename>/etc/pam.conf</filename> confgiuration file by using the
+ text from the files below, and supplying the program name as an
+ additional first field for each line.</para>
+ <para>As the <systemitem class="username">root</systemitem> user,
+ create the <filename class="directory">/etc/pam.d</filename>
+ directory with the following command:</para>
+
+ <screen role="root"><userinput>install -d -m644
/etc/pam.d</userinput></screen>
+
+ <para>While still the <systemitem class="username">root</systemitem>
+ user, add the following <application>Linux-PAM</application>
+ configuration files to the
+ <filename class="directory">/etc/pam.d/</filename> directory (or
+ add the contents to the <filename>/etc/pam.conf</filename> file) with
+ the following commands:</para>
+
</sect4>
<sect4>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page