Changeset 8cb62480


Ignore:
Timestamp:
05/11/2019 06:48:04 AM (2 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
10.0, 10.1, 11.0, 9.0, 9.1, lazarus, qt5new, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
30dece5
Parents:
66b1ff0
Message:

[systemd] Add a warning about /run/nologin in shadow

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21579 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
postlfs/security
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/gnutls.xml

    r66b1ff0 r8cb62480  
    149149
    150150<screen><userinput>./configure --prefix=/usr \
     151            --docdir=/usr/share/doc/gnutls-&gnutls-version; \
    151152            --disable-guile \
    152153            --with-default-trust-store-pkcs11="pkcs11:" &amp;&amp;
  • postlfs/security/shadow.xml

    r66b1ff0 r8cb62480  
    477477
    478478<screen role="root" revision="systemd"><userinput>rm -f /run/nologin</userinput></screen>
     479
     480        <warning revision="systemd">
     481          <para>
     482            If you are building <application>Shadow</application> with Linux-PAM,
     483            you should install <xref linkend="systemd"/> before rebooting.
     484            Or the old <application>systemd</application> installed in LFS will
     485            create <filename>/run/nologin</filename> at next boot and stop you
     486            from login into the system.  If you really need to reboot before
     487            installing <application>systemd</application>, the configuration
     488            line containing <filename class="libraryfile">pam_nologin.so</filename>
     489            must be removed from <filename>/etc/pam.d/login</filename>.
     490          </para>
     491        </warning>
    479492
    480493        <warning>
Note: See TracChangeset for help on using the changeset viewer.