mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-31 01:34:23 +02:00
Extended telnet in inetd test [INSE-8016]
This commit is contained in:
parent
f5f0f02777
commit
59ad28795e
@ -94,10 +94,13 @@
|
|||||||
FIND=`grep "^telnet" ${INETD_CONFIG_FILE}`
|
FIND=`grep "^telnet" ${INETD_CONFIG_FILE}`
|
||||||
if [ "${FIND}" = "" ]; then
|
if [ "${FIND}" = "" ]; then
|
||||||
logtext "Result: telnet not enabled in ${INETD_CONFIG_FILE}"
|
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
|
else
|
||||||
logtext "Result: telnet enabled in ${INETD_CONFIG_FILE}"
|
logtext "Result: telnet enabled in ${INETD_CONFIG_FILE}"
|
||||||
Display --indent 2 --text "- Checking inetd (telnet)..." --result WARNING --color RED
|
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
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user