diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-07-03 22:28:05 -0400 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2012-07-11 02:59:24 +0200 |
commit | 27c29c2b95864e4844ef644400ebf59a08d08abd (patch) | |
tree | f2ba51c8f8db3de1ee1db59125060dca4f1660d4 /rc.multi | |
parent | 6f3b4c5edc6dfdd301d80929cb35e316fa742144 (diff) | |
download | initscripts-27c29c2b95864e4844ef644400ebf59a08d08abd.tar.xz |
remove /run/nologin before leaving rc.multi
systemd-186 writes this file when running systemd-tmpfiles, but
initscripts never removes it. This disallows all non-root logins.
Reported-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'rc.multi')
-rwxr-xr-x | rc.multi | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -31,4 +31,6 @@ run_hook multi_end bootlogd_stop +rm -f /run/nologin + # vim: set ts=2 sw=2 noet: |