From f60011eb1b4887c589fa2e985b0486b36e967626 Mon Sep 17 00:00:00 2001 From: mboelen Date: Wed, 27 May 2015 11:43:08 +0200 Subject: [PATCH] Removing tests which were already performed in authentication section. --- include/tests_shells | 48 ++------------------------------------------ 1 file changed, 2 insertions(+), 46 deletions(-) diff --git a/include/tests_shells b/include/tests_shells index cf406602..52550562 100644 --- a/include/tests_shells +++ b/include/tests_shells @@ -57,16 +57,9 @@ logtext "Output /etc/ttys:" logtext "${FIND}" ReportWarning ${TEST_NO} "M" "Found unprotected console in /etc/ttys" - #ReportSuggestion ${TEST_NO} "Change the console line from 'secure' to 'insecure'." + logtext "Possible solution: Change the console line from 'secure' to 'insecure'." fi fi -# -################################################################################# -# - # Test : SHLL-6214 - # Description : check for idle session killing tools (timeoutd) - - # ################################################################################# # @@ -220,43 +213,6 @@ fi # ################################################################################# -# - # Test : SHLL-6236 - # Description : Check /etc/profile -# -################################################################################# -# - - # Test : SHLL-6240 - # Description : Check default umask -# Register --test-no SHLL-6240 --weight L --network NO --description "Check default umask" -# if [ ${SKIPTEST} -eq 0 ]; then -# logtext "Test: Checking /etc/profile" -# if [ -f /etc/profile ]; then -# FIND=`grep "^umask" | awk '{ print $2 }'` -# if [ "${FIND}" = "" ]; then -# logtext "Result: xxx" -# Display --indent 2 --text "- Checking default umask" --result OK --color GREEN -# else -# logtext "Result: xxx" -# Display --indent 2 --text "- Checking default umask" --result WARNING --color RED -# #ReportWarning ${TEST_NO} "M" "xxx" -# #ReportSuggestion ${TEST_NO} "xxx" -# fi -# fi -# fi -# -################################################################################# -# - # Test : SHLL-6250 - # Description : Check /etc/bash.bashrc -# Register --test-no SHLL-6250 --weight L --network NO --description "Check default umask" -# if [ ${SKIPTEST} -eq 0 ]; then -# -################################################################################# -# -# -################################################################################# # # Test : SHLL-6290 # Description : Check for Shellshock vulnerability @@ -395,4 +351,4 @@ wait_for_keypress # #================================================================================ -# Lynis - Copyright 2007-2015, CISOfy & Michael Boelen - http://cisofy.com - The Netherlands +# Lynis - Copyright 2007-2015, CISOfy - http://cisofy.com