diff --git a/postlfs/security/linux-pam.xml b/postlfs/security/linux-pam.xml index 3759d42a8a..79ee447448 100644 --- a/postlfs/security/linux-pam.xml +++ b/postlfs/security/linux-pam.xml @@ -145,11 +145,34 @@ make - 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 - root user: + To test the results, a suitable /etc/pam.d/other + configuration file must exist. + + + + Reinstallation or upgrade of Linux PAM + + If you have a system with Linux PAM installed and working, be careful + when modifying the files in + /etc/pam.d, since your system + may become totally unusable. If you want to run the tests, you do not + need to create another /etc/pam.d/other file. The + installed one can be used for that purpose. + + + + You should also be aware that make install + overwrites the configuration files in + /etc/security as well as + /etc/environment + + + + For a first installation, create the configuration file by issuing the + following commands as the root + user: install -v -m755 -d /etc/pam.d && @@ -163,11 +186,13 @@ EOF Now run the tests by issuing make check. + Ensure there are no errors produced by the tests before continuing the + installation. - 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 root user: