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:
authormboelen <michael@cisofy.com>2014-09-15 12:38:13 +0400
committermboelen <michael@cisofy.com>2014-09-15 12:38:13 +0400
commit59ad28795e1c1c003557b9349de5d49ca4ee849d (patch)
treea3efc2e0db3bd5638c3ccd38ae058a0c7e0ab630 /include/tests_insecure_services
parentf5f0f0277724fe08d22fc5c8787e2ce593e731cf (diff)
Extended telnet in inetd test [INSE-8016]
Diffstat (limited to 'include/tests_insecure_services')
-rw-r--r--include/tests_insecure_services5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/tests_insecure_services b/include/tests_insecure_services
index 8e5e1b8e..b0e6bae9 100644
--- a/include/tests_insecure_services
+++ b/include/tests_insecure_services
@@ -94,10 +94,13 @@
FIND=`grep "^telnet" ${INETD_CONFIG_FILE}`
if [ "${FIND}" = "" ]; then
logtext "Result: telnet not enabled in ${INETD_CONFIG_FILE}"
- Display --indent 2 --text "- Checking inetd (telnet)..." --result FOUND --color GREEN
+ Display --indent 2 --text "- Checking inetd (telnet)..." --result "NOT FOUND" --color GREEN
+ AddHP 3 3
else
logtext "Result: telnet enabled in ${INETD_CONFIG_FILE}"
Display --indent 2 --text "- Checking inetd (telnet)..." --result WARNING --color RED
+ ReportSuggestion "${TEST_NO}" "Disable telnet in inetd configuration and use SSH instead"
+ AddHP 1 3
fi
fi
#