summaryrefslogtreecommitdiff
path: root/tmpfiles.d/systemd.conf
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-06-25 17:35:13 +0200
committerLennart Poettering <lennart@poettering.net>2012-06-25 17:35:13 +0200
commit61beaf818bd222fdbacd233fba8df6124ec8d32d (patch)
tree0288c73134027deee02e831d0c3507fcbc0f662b /tmpfiles.d/systemd.conf
parenta882169a168bef88eb5cc3a9a5437e6e3518260f (diff)
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.
Diffstat (limited to 'tmpfiles.d/systemd.conf')
-rw-r--r--tmpfiles.d/systemd.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf
index d415f68409..965c6fc322 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."