On 2019-05-12 13:10 +0800, Xi Ruoyao via blfs-dev wrote: > On 2019-05-11 16:07 +0000,DJ Lucas via blfs-dev: > > Note that the root user can always login, regardless of /run/nologin. > > I think I've tried to use root but it didn't work... Let me retry.
You're right. When I tried to login as root, though the warning showed up, I could continue to login. Maybe I rebooted the system just after seeing the warning before. Updated the note in r21583. However, `echo 'rm -rf /run/nologin' > /lib/systemd/systemd-user-sessions` really won't work. I created a PR making systemd not to create /run/nologin if PAM is not enabled at build: https://github.com/systemd/systemd/pull/12543 -- Xi Ruoyao <[email protected]> School of Aerospace Science and Technology, Xidian University -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
