On 5/12/19 1:48 AM, Xi Ruoyao via blfs-dev wrote:
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
Thanks for this, I'll login to GitHub and +1 it. I'm listed as the
maintainer of LFS systemd in their MAINTAINERS file, so this might get
up to the top of their queue faster.
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page