- Timestamp:
- 05/13/2019 03:08:16 PM (5 years ago)
- 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, 12.2, 12.2-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/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 4a7709f
- Parents:
- 8b1d927
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/systemd.xml
r8b1d927 r4a18f0bd 199 199 <screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen> 200 200 201 <para> Create the <filename>/lib/systemd/systemd-user-sessions</filename>202 scriptto allow unprivileged user logins without201 <para>Stop systemd to create <filename>/run/nologin</filename> 202 to allow unprivileged user logins without 203 203 <application>systemd-logind</application>:</para> 204 204 205 <screen><userinput remap="adjust">cat > /lib/systemd/systemd-user-sessions << "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> 210 206 211 207 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.