diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2017-02-28 22:18:47 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2017-02-28 22:18:47 +0300 |
commit | 9cf25723e0f596ef7854fbea8cbff1e3ac10431d (patch) | |
tree | e58996ac3421911d214956d78f4ceb4f705ffeb2 /include | |
parent | 5668f7bed1c43e93b6f526ccfe2b2d6002412922 (diff) |
[AUTH-9308] Test for tilde in inittab for Debian systems
Diffstat (limited to 'include')
-rw-r--r-- | include/tests_authentication | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_authentication b/include/tests_authentication index 2bc48074..5077e408 100644 --- a/include/tests_authentication +++ b/include/tests_authentication @@ -905,7 +905,7 @@ TEST_PERFORMED=1 LogText "Result: file /etc/inittab exists" LogText "Test: checking presence sulogin for single user mode" - FIND=$(${EGREPBINARY} "^[a-zA-Z0-9]+:S:(respawn|wait):/sbin/sulogin" /etc/inittab) + FIND=$(${EGREPBINARY} "^[a-zA-Z0-9~]+:S:(respawn|wait):/sbin/sulogin" /etc/inittab) FIND2=$(${EGREPBINARY} "^su:S:(respawn|wait):/sbin/sulogin" /etc/inittab) if [ ! -z "${FIND}" -o ! -z "${FIND2}" ]; then FOUND=1 |