diff options
author | DJ Lucas <dj@linuxfromscratch.org> | 2017-10-15 19:21:52 +0000 |
---|---|---|
committer | DJ Lucas <dj@linuxfromscratch.org> | 2017-10-15 19:21:52 +0000 |
commit | 92204706b00eb0171753ea368bae77f2a1b3c390 (patch) | |
tree | 2a6608524af48ea20c13daaa38e67136efd8835d /chapter06 | |
parent | 4476fba0b98ff83505108eddb373461ddc000849 (diff) |
Update to D-Bus-1.10.24. Fixes #4143.
Update to Systemd-235. Fixes #4147.
Create /lib/systemd/systemd-user-sessions script to allow user login without systemd-logind.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11312 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/systemd.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml index 9b132921c..84a66466e 100644 --- a/chapter06/systemd.xml +++ b/chapter06/systemd.xml @@ -196,6 +196,16 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen> <screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen> + <para>Create the <filename>/lib/systemd/systemd-user-sessions</filename> + script to allow unprivileged user logins without + <application>systemd-logind</application>:</para> + +<screen><userinput remap="adjust">cat > /lib/systemd/systemd-user-sessions << "EOF" +#!/bin/bash +rm -f /run/nologin +EOF +chmod 755 /lib/systemd/systemd-user-sessions</userinput></screen> + </sect2> <sect2 id="contents-systemd" role="content"> |