From 61beaf818bd222fdbacd233fba8df6124ec8d32d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 25 Jun 2012 17:35:13 +0200 Subject: [PATCH] tmpfiles: write /run/nologin during early boot to disallow too early user logins systemd-user-sessoins.service will later on remove the flag file, thus permitting user logins when the time has come. --- tmpfiles.d/systemd.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf index d415f6840..965c6fc32 100644 --- a/tmpfiles.d/systemd.conf +++ b/tmpfiles.d/systemd.conf @@ -24,3 +24,5 @@ d /run/systemd/seats 0755 root root - d /run/systemd/sessions 0755 root root - d /run/systemd/users 0755 root root - d /run/systemd/shutdown 0755 root root - + +F /run/nologin 0755 - - - "System is booting up." -- 2.30.2