chiark / gitweb /
tmpfiles: write /run/nologin during early boot to disallow too early user logins
authorLennart Poettering <lennart@poettering.net>
Mon, 25 Jun 2012 15:35:13 +0000 (17:35 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 25 Jun 2012 15:35:13 +0000 (17:35 +0200)
systemd-user-sessoins.service will later on remove the flag file, thus
permitting user logins when the time has come.

tmpfiles.d/systemd.conf

index d415f68409a3a5a9624c01d3f3745617b8d36c96..965c6fc32274faaf0599918f398d83c96d409a7d 100644 (file)
@@ -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."