diff options
author | mboelen <michael@cisofy.com> | 2015-12-21 23:17:15 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2015-12-21 23:17:15 +0300 |
commit | d16b38eff83a8dca405e21e1c34205289f3d0832 (patch) | |
tree | d9db1eac3d4ead003f0e1b4fbfbabf0ddeb66c1e /include/tests_solaris | |
parent | 83a44827e03543146e39c37c33f14ebca6f40a29 (diff) |
Rename of logtext and report functions, upcoming year change
Diffstat (limited to 'include/tests_solaris')
-rw-r--r-- | include/tests_solaris | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/tests_solaris b/include/tests_solaris index 109bee67..ac6297e6 100644 --- a/include/tests_solaris +++ b/include/tests_solaris @@ -5,7 +5,7 @@ # Lynis # ------------------ # -# Copyright 2007-2015, Michael Boelen, CISOfy (michael.boelen@cisofy.com) +# Copyright 2007-2016, Michael Boelen, CISOfy (michael.boelen@cisofy.com) # Web site: https://cisofy.com # # Lynis comes with ABSOLUTELY NO WARRANTY. This is free software, and you are @@ -26,15 +26,15 @@ # Description : Check if Stop-A is disabled # Register --test-no SOL-xxxx --weight L --network NO --description "Check for running SSH daemon" # if [ ${SKIPTEST} -eq 0 ]; then -# logtext "Test: Searching for a SSH daemon" +# LogText "Test: Searching for a SSH daemon" # # Check running processes # FIND=`${PSBINARY} ax | grep "sshd" | grep -v "grep"` # if [ ! "${FIND}" = "" ]; then # SSH_DAEMON_RUNNING=1 -# logtext "Result: Stop-A is disabled" +# LogText "Result: Stop-A is disabled" # Display --indent 2 --text "- Checking running SSH daemon" --result FOUND --color GREEN # else -# logtext "Result: Stop-A is NOT disabled" +# LogText "Result: Stop-A is NOT disabled" # Display --indent 2 --text "- Checking running SSH daemon" --result "NOT FOUND" --color WHITE # fi # fi @@ -45,15 +45,15 @@ # Description : Check if vold is disabled, to disallow unaudited mounts # Register --test-no SOL-xxxx --weight L --network NO --description "Check for running SSH daemon" # if [ ${SKIPTEST} -eq 0 ]; then -# logtext "Test: Searching for a SSH daemon" +# LogText "Test: Searching for a SSH daemon" # # Check running processes # FIND=`${PSBINARY} ax | grep "sshd" | grep -v "grep"` # if [ ! "${FIND}" = "" ]; then # SSH_DAEMON_RUNNING=1 -# logtext "Result: Stop-A is disabled" +# LogText "Result: Stop-A is disabled" # Display --indent 2 --text "- Checking running SSH daemon" --result FOUND --color GREEN # else -# logtext "Result: Stop-A is NOT disabled" +# LogText "Result: Stop-A is NOT disabled" # Display --indent 2 --text "- Checking running SSH daemon" --result "NOT FOUND" --color WHITE # fi # fi @@ -66,4 +66,4 @@ wait_for_keypress # #================================================================================ -# Lynis - Copyright 2007-2015, Michael Boelen, CISOfy - https://cisofy.com +# Lynis - Copyright 2007-2016, Michael Boelen, CISOfy - https://cisofy.com |