mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
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
This commit is contained in:
parent
8b1d927706
commit
4a18f0bdd6
@ -198,15 +198,11 @@ rm -f /usr/bin/xsltproc</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
|
||||
<para>Stop systemd to create <filename>/run/nologin</filename>
|
||||
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>
|
||||
<screen><userinput remap="adjust">rm -f /usr/lib/tmpfiles.d/systemd-nologin.conf</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user