mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-25 14:54:32 +02:00
Added suggestion for file systems which are symlinked
This commit is contained in:
parent
4874c80186
commit
6ec3e5b39d
@ -38,7 +38,9 @@
|
|||||||
for I in ${SEPARATED_FILESYTEMS}; do
|
for I in ${SEPARATED_FILESYTEMS}; do
|
||||||
LogText "Test: Checking if ${I} is mounted separately or mounted on / file system"
|
LogText "Test: Checking if ${I} is mounted separately or mounted on / file system"
|
||||||
if [ -L ${I} ]; then
|
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
|
Display --indent 4 --text "- Checking ${I} mount point" --result SYMLINK --color WHITE
|
||||||
elif [ -d ${I} ]; then
|
elif [ -d ${I} ]; then
|
||||||
LogText "Result: directory ${I} exists"
|
LogText "Result: directory ${I} exists"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user