From 105befb2e97d440fa6a0ebdc368edfdbc215b2e2 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Mon, 23 Apr 2018 11:01:18 +0200 Subject: [PATCH] [AUTH-9308] Made 'sulogin' more generic for systemd rescue shell --- include/tests_authentication | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tests_authentication b/include/tests_authentication index dc01969e..a7e03cb0 100644 --- a/include/tests_authentication +++ b/include/tests_authentication @@ -962,7 +962,7 @@ # Mark test as performed only when at least 1 target exists (e.g. Ubuntu 14.04 has limited systemd support) TEST_PERFORMED=1 LogText "Result: found target ${I}" - FIND=$(${EGREPBINARY} "^ExecStart=" ${FILE} | ${GREPBINARY} "/sulogin") + FIND=$(${EGREPBINARY} "^ExecStart=" ${FILE} | ${GREPBINARY} "sulogin") if [ "${FIND}" = "" ]; then LogText "Result: did not find sulogin specified, possible risk of getting into single user mode without authentication" else