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-03-18 18:11:52 +0300
committermboelen <michael@cisofy.com>2015-03-18 18:11:52 +0300
commita6ef89aa6343a6cb0e481e66dab8bc49cc2ae34d (patch)
tree28c4f921da63e80f4b0ca12ad4c8ff88c3f773a6
parent65e6c3a7d2f51d21db1bfb615f4d9fd831f31b59 (diff)
Better clarification why Lynis will not run when permissions are incorrect
-rwxr-xr-xlynis9
1 files changed, 7 insertions, 2 deletions
diff --git a/lynis b/lynis
index a6b28a65..f035a263 100755
--- a/lynis
+++ b/lynis
@@ -112,8 +112,13 @@
. ${INCLUDEDIR}/functions
else
echo ""; echo "";
- 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 "[X] Security check failed: See action above, to correct this issue."
+ 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 "";
exit 1
fi