Author: xry111
Date: Sat May 11 23:21:32 2019
New Revision: 21583

Log:
Rephrase the warning about /run/nologin to a note\n\nroot can still login even 
if /run/nologin exists.

Modified:
   trunk/BOOK/postlfs/security/shadow.xml

Modified: trunk/BOOK/postlfs/security/shadow.xml
==============================================================================
--- trunk/BOOK/postlfs/security/shadow.xml      Sat May 11 14:39:51 2019        
(r21582)
+++ trunk/BOOK/postlfs/security/shadow.xml      Sat May 11 23:21:32 2019        
(r21583)
@@ -477,18 +477,16 @@
 
 <screen role="root" revision="systemd"><userinput>rm -f 
/run/nologin</userinput></screen>
 
-        <warning revision="systemd">
+        <note revision="systemd">
           <para>
             If you are building <application>Shadow</application> with 
Linux-PAM,
-            you should install <xref linkend="systemd"/> before rebooting.
-            Or the old <application>systemd</application> installed in LFS will
-            create <filename>/run/nologin</filename> at next boot and stop you
-            from login into the system.  If you really need to reboot before
-            installing <application>systemd</application>, the configuration
-            line containing <filename 
class="libraryfile">pam_nologin.so</filename>
-            must be removed from <filename>/etc/pam.d/login</filename>.
+            you should install <xref linkend="systemd"/> now.
+            Or due to the lack of 
<filename>systemd-user-sessions.service</filename>,
+            the <filename>/run/nologin</filename> file will prohibit the 
unprivileged
+            users to login into the system.  If that happens you can still 
login
+            as <systemitem class="username">root</systemitem>.
           </para>
-        </warning>
+        </note>
 
         <warning>
           <para>
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to