Changeset 7ab715e


Ignore:
Timestamp:
05/12/2019 06:21:32 AM (2 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
10.0, 10.1, 11.0, 9.0, 9.1, ken/refactor-virt, lazarus, qt5new, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
5532a041
Parents:
28952694
Message:

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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/shadow.xml

    r28952694 r7ab715e  
    478478<screen role="root" revision="systemd"><userinput>rm -f /run/nologin</userinput></screen>
    479479
    480         <warning revision="systemd">
     480        <note revision="systemd">
    481481          <para>
    482482            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>.
     483            you should install <xref linkend="systemd"/> now.
     484            Or due to the lack of <filename>systemd-user-sessions.service</filename>,
     485            the <filename>/run/nologin</filename> file will prohibit the unprivileged
     486            users to login into the system.  If that happens you can still login
     487            as <systemitem class="username">root</systemitem>.
    490488          </para>
    491         </warning>
     489        </note>
    492490
    493491        <warning>
Note: See TracChangeset for help on using the changeset viewer.