Changeset 4a18f0bd


Ignore:
Timestamp:
05/13/2019 03:08:16 PM (5 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, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
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.