From 2cadb11bc8a483840c1f8587a7e6cf36cc06f0a4 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 24 May 2019 16:23:19 +0200 Subject: [*] Use logind.conf to kill user processes Get rid of old, brittle script in pam session close that would do wonky stuff to kill stray user processes. --- core/modules/safe-mode/data/opt/openslx/scripts/systemd-safe_mode | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/modules/safe-mode') diff --git a/core/modules/safe-mode/data/opt/openslx/scripts/systemd-safe_mode b/core/modules/safe-mode/data/opt/openslx/scripts/systemd-safe_mode index 4c3195f7..eeaf34b1 100755 --- a/core/modules/safe-mode/data/opt/openslx/scripts/systemd-safe_mode +++ b/core/modules/safe-mode/data/opt/openslx/scripts/systemd-safe_mode @@ -31,7 +31,8 @@ systemd_config() { # No idleaction rm -- "/etc/cron.d/openslx-idleaction" # Ignore everything but power button, no VTs - cat > "${FUTURE_ROOT}/etc/systemd/logind.conf" < "/etc/systemd/logind.conf.d/99-exam.conf" <