mirror of https://github.com/CISOfy/lynis.git
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
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue