Better clarification why Lynis will not run when permissions are incorrect

This commit is contained in:
mboelen 2015-03-18 16:11:52 +01:00
parent 65e6c3a7d2
commit a6ef89aa63
1 changed files with 7 additions and 2 deletions

9
lynis
View File

@ -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