From: Lennart Poettering Date: Mon, 25 Jun 2012 15:35:13 +0000 (+0200) Subject: tmpfiles: write /run/nologin during early boot to disallow too early user logins X-Git-Tag: v186~97 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=61beaf818bd222fdbacd233fba8df6124ec8d32d;hp=a882169a168bef88eb5cc3a9a5437e6e3518260f 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. --- 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."