diff options
author | mboelen <michael@cisofy.com> | 2015-05-27 12:43:08 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2015-05-27 12:43:08 +0300 |
commit | f60011eb1b4887c589fa2e985b0486b36e967626 (patch) | |
tree | a432786bc35794c0edb4a82015b18d31bad96c31 /include/tests_shells | |
parent | 917c790ecc930077cc303aa7192906eb4279da72 (diff) |
Removing tests which were already performed in authentication section.
Diffstat (limited to 'include/tests_shells')
-rw-r--r-- | include/tests_shells | 48 |
1 files 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,19 +57,12 @@ 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) - - -# -################################################################################# -# # Test : SHLL-6211 # Description : which shells are available according /etc/shells Register --test-no SHLL-6211 --weight L --network NO --description "Checking available and valid shells" @@ -221,43 +214,6 @@ # ################################################################################# # - # 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 Register --test-no SHLL-6290 --weight H --network NO --description "Perform Shellshock vulnerability tests" @@ -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 |