mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-20 12:24:41 +02:00
Better clarification why Lynis will not run when permissions are incorrect
This commit is contained in:
parent
65e6c3a7d2
commit
a6ef89aa63
9
lynis
9
lynis
@ -112,8 +112,13 @@
|
|||||||
. ${INCLUDEDIR}/functions
|
. ${INCLUDEDIR}/functions
|
||||||
else
|
else
|
||||||
echo ""; echo "";
|
echo ""; echo "";
|
||||||
echo "[X] Security check failed: See action above to correct this issue."
|
echo "[X] Security check failed: See action above, to correct this issue."
|
||||||
echo " Please change ownership and permissions of the related files and start Lynis again."
|
echo ""
|
||||||
|
echo " Why:"
|
||||||
|
echo " This error is a protection mechanism, to prevent root user from executing user created files."
|
||||||
|
echo ""
|
||||||
|
echo " Possible action:"
|
||||||
|
echo " Change ownership and permissions of the related files, or full directory, and start Lynis again."
|
||||||
echo ""; echo "";
|
echo ""; echo "";
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user