Author: pierre
Date: Thu Jan 23 01:49:25 2014
New Revision: 12621
Log:
Add information about updating or reinstalling PAM, to avoid removing
important configuration files
Modified:
trunk/BOOK/postlfs/security/linux-pam.xml
Modified: trunk/BOOK/postlfs/security/linux-pam.xml
==============================================================================
--- trunk/BOOK/postlfs/security/linux-pam.xml Thu Jan 23 01:31:51 2014
(r12620)
+++ trunk/BOOK/postlfs/security/linux-pam.xml Thu Jan 23 01:49:25 2014
(r12621)
@@ -145,11 +145,34 @@
make</userinput></screen>
<para>
- To test the results, a configuration file must be created. This file
- will be removed after the tests have completed. Ensure there are no
errors
- produced by the tests before continuing the installation. First create
the
- configuration file by issuing the following commands as the
- <systemitem class="username">root</systemitem> user:
+ To test the results, a suitable <filename>/etc/pam.d/other</filename>
+ configuration file must exist.
+ </para>
+
+ <caution>
+ <title>Reinstallation or upgrade of Linux PAM</title>
+ <para>
+ If you have a system with Linux PAM installed and working, be careful
+ when modifying the files in
+ <filename class="directory">/etc/pam.d</filename>, since your system
+ may become totally unusable. If you want to run the tests, you do not
+ need to create another <filename>/etc/pam.d/other</filename> file. The
+ installed one can be used for that purpose.
+ </para>
+
+ <para>
+ You should also be aware that <command>make install</command>
+ overwrites the configuration files in
+ <filename class="directory">/etc/security</filename> as well as
+ <filename>/etc/environment</filename. In case you
+ have modified those files, be sure to backup them.
+ </para>
+ </caution>
+
+ <para>
+ For a first installation, create the configuration file by issuing the
+ following commands as the <systemitem class="username">root</systemitem>
+ user:
</para>
<screen role="root"><userinput>install -v -m755 -d /etc/pam.d &&
@@ -163,11 +186,13 @@
<para>
Now run the tests by issuing <command>make check</command>.
+ Ensure there are no errors produced by the tests before continuing the
+ installation.
</para>
<para>
- Remove the configuration file created earlier by issuing the
- following command as the
+ Only in case of a first installation, remove the configuration file
+ created earlier by issuing the following command as the
<systemitem class="username">root</systemitem> user:
</para>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page