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>2016-03-08 13:35:15 +0300
committermboelen <michael@cisofy.com>2016-03-08 13:35:15 +0300
commit6ec3e5b39d2690dc9869e3708623a22d569fca3a (patch)
tree2a3950230fd9f71d58a1d496887b29884f831892
parent4874c8018651ca80cbf7b2d88409b5f36b02ca2d (diff)
Added suggestion for file systems which are symlinked
-rw-r--r--include/tests_filesystems4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/tests_filesystems b/include/tests_filesystems
index caee554c..9d08b9c5 100644
--- a/include/tests_filesystems
+++ b/include/tests_filesystems
@@ -38,7 +38,9 @@
for I in ${SEPARATED_FILESYTEMS}; do
LogText "Test: Checking if ${I} is mounted separately or mounted on / file system"
if [ -L ${I} ]; then
- LogText "Result: ${I} is a symlink. Manual check required to determine exact file system"
+ ShowSymlinkPath ${I}
+ LogText "Result: ${I} is a symlink. Manual check required to determine exact file system options"
+ ReportSuggestion ${TEST_NO} "Symlinked mount point needs to be checked manually" "${I}" ""
Display --indent 4 --text "- Checking ${I} mount point" --result SYMLINK --color WHITE
elif [ -d ${I} ]; then
LogText "Result: directory ${I} exists"