Changeset 4a18f0bd


Ignore:
Timestamp:
05/13/2019 03:08:16 PM (2 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 9.0, 9.0-rc1, 9.1, 9.1-rc1, cross-chap5, ml-11.0, multilib, old-trunk, trunk, xry111/git-transition, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
Children:
4a7709f
Parents:
8b1d927
Message:

Remove a file to allow user login without systemd-logind

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11604 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/systemd.xml

    r8b1d927 r4a18f0bd  
    199199<screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen>
    200200
    201     <para>Create the <filename>/lib/systemd/systemd-user-sessions</filename>
    202     script to allow unprivileged user logins without
     201    <para>Stop systemd to create <filename>/run/nologin</filename>
     202    to allow unprivileged user logins without
    203203    <application>systemd-logind</application>:</para>
    204204
    205 <screen><userinput remap="adjust">cat &gt; /lib/systemd/systemd-user-sessions &lt;&lt; "EOF"
    206 #!/bin/bash
    207 rm -f /run/nologin
    208 EOF
    209 chmod 755 /lib/systemd/systemd-user-sessions</userinput></screen>
     205<screen><userinput remap="adjust">rm -f /usr/lib/tmpfiles.d/systemd-nologin.conf</userinput></screen>
    210206
    211207  </sect2>
Note: See TracChangeset for help on using the changeset viewer.