diff --git a/include/tests_insecure_services b/include/tests_insecure_services index afed850e..2b673072 100644 --- a/include/tests_insecure_services +++ b/include/tests_insecure_services @@ -44,11 +44,11 @@ if PackageIsInstalled "inetd"; then INETD_PACKAGE_INSTALLED=1 LogText "Result: inetd is installed" - Display --indent 2 --text "- Installation of inetd package" --result "${STATUS_FOUND}" --color YELLOW + Display --indent 2 --text "- Installed inetd package" --result "${STATUS_FOUND}" --color YELLOW #ReportSuggestion ${TEST_NO} "If there are no inetd services required, it is recommended that the daemon be removed" else LogText "Result: inetd is NOT installed" - Display --indent 2 --text "- Installation of inetd package" --result "${STATUS_NOT_FOUND}" --color GREEN + Display --indent 2 --text "- Installed inetd package" --result "${STATUS_NOT_FOUND}" --color GREEN fi fi # @@ -141,11 +141,11 @@ PackageIsInstalled xinetd if [ $? -eq 0 ]; then LogText "Result: xinetd is installed" - Display --indent 2 --text "- Installation of xinetd package" --result "${STATUS_FOUND}" --color YELLOW + Display --indent 2 --text "- Installed xinetd package" --result "${STATUS_FOUND}" --color YELLOW ReportSuggestion ${TEST_NO} "If there are no xinetd services required, it is recommended that the daemon be removed" else LogText "Result: xinetd is NOT installed" - Display --indent 2 --text "- Installation of xinetd package" --result "${STATUS_OK}" --color GREEN + Display --indent 2 --text "- Installed xinetd package" --result "${STATUS_OK}" --color GREEN fi fi # @@ -303,11 +303,11 @@ done if [ ${FOUND} -eq 1 ]; then LogText "Result: rsh client is installed" - Display --indent 2 --text "- Checking rsh client installation" --result "${STATUS_SUGGESTION}" --color YELLOW + Display --indent 2 --text "- Installed rsh client package" --result "${STATUS_SUGGESTION}" --color YELLOW ReportSuggestion ${TEST_NO} "Remove rsh client when it is not in use or replace with the more secure SSH package" else LogText "Result: rsh client is NOT installed" - Display --indent 2 --text "- Checking rsh client installation" --result "${STATUS_OK}" --color GREEN + Display --indent 2 --text "- Installed rsh client package" --result "${STATUS_OK}" --color GREEN fi fi # @@ -360,12 +360,12 @@ done if [ ${FOUND} -eq 1 ]; then LogText "Result: rsh server is installed" - Display --indent 2 --text "- Checking rsh server installation" --result "${STATUS_SUGGESTION}" --color YELLOW + Display --indent 2 --text "- Installed rsh server package" --result "${STATUS_SUGGESTION}" --color YELLOW ReportSuggestion ${TEST_NO} "Remove the rsh-server package and replace with a more secure alternative like SSH" Report "insecure_service[]=rsh-server" else LogText "Result: rsh server is NOT installed" - Display --indent 2 --text "- Checking rsh server installation" --result "${STATUS_OK}" --color GREEN + Display --indent 2 --text "- Installed rsh server package" --result "${STATUS_OK}" --color GREEN fi fi # @@ -380,12 +380,12 @@ if PackageIsInstalled "${PACKAGE}"; then FOUND=1; fi if [ ${FOUND} -eq 1 ]; then LogText "Result: telnet client is installed" - Display --indent 2 --text "- Checking telnet client installation" --result "${STATUS_FOUND}" --color YELLOW + Display --indent 2 --text "- Installed telnet client package" --result "${STATUS_FOUND}" --color YELLOW # Telnet client usage might be used for troubleshooting instead of system administration #ReportSuggestion ${TEST_NO} "telnet client contain numerous security exposures and have been replaced with the more secure SSH package" else LogText "Result: telnet client is NOT installed" - Display --indent 2 --text "- Checking telnet client installation" --result "${STATUS_OK}" --color GREEN + Display --indent 2 --text "- Installed telnet client package" --result "${STATUS_OK}" --color GREEN fi fi # @@ -404,12 +404,12 @@ done if [ ${FOUND} -eq 1 ]; then LogText "Result: telnet server is installed" - Display --indent 2 --text "- Checking telnet server installation" --result "${STATUS_FOUND}" --color YELLOW + Display --indent 2 --text "- Installed telnet server package" --result "${STATUS_FOUND}" --color YELLOW ReportSuggestion ${TEST_NO} "Removing the ${FOUND} package and replace with SSH when possible" Report "insecure_service[]=telnet-server" else LogText "Result: telnet server is NOT installed" - Display --indent 2 --text "- Checking telnet server installation" --result "${STATUS_OK}" --color GREEN + Display --indent 2 --text "- Installed telnet server package" --result "${STATUS_NOT_FOUND}" --color GREEN fi fi #