mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-25 23:05:01 +02:00
Move helper text and small adjustment to security error
This commit is contained in:
parent
2cd57933b6
commit
761314df23
4
lynis
4
lynis
@ -134,7 +134,7 @@
|
|||||||
echo ""
|
echo ""
|
||||||
echo " Why do I see this error?"
|
echo " Why do I see this error?"
|
||||||
echo " -------------------------------"
|
echo " -------------------------------"
|
||||||
echo " This error is a protection mechanism, to prevent root user from executing user created files."
|
echo " This is a protection mechanism, to prevent the root user from executing user created files."
|
||||||
echo ""; echo ""
|
echo ""; echo ""
|
||||||
echo " What can I do?"
|
echo " What can I do?"
|
||||||
echo " ---------------------"
|
echo " ---------------------"
|
||||||
@ -834,12 +834,12 @@
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
#
|
#
|
||||||
if [ ${RUN_HELPERS} -eq 1 ]; then
|
if [ ${RUN_HELPERS} -eq 1 ]; then
|
||||||
InsertPluginSection "Audit Module"
|
|
||||||
if [ ! "${HELPER}" = "" ]; then
|
if [ ! "${HELPER}" = "" ]; then
|
||||||
logtext "Helper tool is $HELPER"
|
logtext "Helper tool is $HELPER"
|
||||||
if [ -f ${INCLUDEDIR}/helper_${HELPER} ]; then
|
if [ -f ${INCLUDEDIR}/helper_${HELPER} ]; then
|
||||||
SafePerms ${INCLUDEDIR}/helper_${HELPER}
|
SafePerms ${INCLUDEDIR}/helper_${HELPER}
|
||||||
logtext "Running helper tool ${HELPER} with params: ${HELPER_PARAMS}"
|
logtext "Running helper tool ${HELPER} with params: ${HELPER_PARAMS}"
|
||||||
|
InsertPluginSection "Helper: ${HELPER}"
|
||||||
. ${INCLUDEDIR}/helper_${HELPER} ${HELPER_PARAMS}
|
. ${INCLUDEDIR}/helper_${HELPER} ${HELPER_PARAMS}
|
||||||
else
|
else
|
||||||
echo "Error, could not find helper"
|
echo "Error, could not find helper"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user