From a6ef89aa6343a6cb0e481e66dab8bc49cc2ae34d Mon Sep 17 00:00:00 2001 From: mboelen Date: Wed, 18 Mar 2015 16:11:52 +0100 Subject: [PATCH] Better clarification why Lynis will not run when permissions are incorrect --- lynis | 9 +++++++-- 1 file 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