diff options
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"> |