Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2018-04-23 12:01:18 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2018-04-23 12:01:18 +0300
commit105befb2e97d440fa6a0ebdc368edfdbc215b2e2 (patch)
treedc373b4d39b12fddd4a072a20175f65681646cad /include
parente858233eb65f8ac1b22c68949a249ebd9885e362 (diff)
[AUTH-9308] Made 'sulogin' more generic for systemd rescue shell
Diffstat (limited to 'include')
-rw-r--r--include/tests_authentication2
1 files changed, 1 insertions, 1 deletions
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