Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormboelen <michael@cisofy.com>2015-12-22 18:01:30 +0300
committermboelen <michael@cisofy.com>2015-12-22 18:01:30 +0300
commitae6ca56581b5852d5b828529db06f48f9a189184 (patch)
tree2609ab04e95ea17304e3c2520f0820c7e3ed8d00 /include/tests_time
parent6520400ca4bf3333bc08d3f6fdd847881488ff73 (diff)
Show warning for writable configuration file
Diffstat (limited to 'include/tests_time')
-rw-r--r--include/tests_time4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/tests_time b/include/tests_time
index 93742236..2b97248f 100644
--- a/include/tests_time
+++ b/include/tests_time
@@ -450,11 +450,9 @@ wait_for_keypress
if [ -f ${FILE} ]; then
LogText "Result: found ${FILE}"
if IsWorldWritable ${FILE}; then
- echo $?
- echo "File ${FILE} is writable!!!!"
+ ReportWarning "${TEST_NO}" "Found world writable configuration file"
fi
Report "ntp_config_file[]=${FILE}"
-
fi
done
fi