mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-24 14:24:50 +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 " Why do I see this error?"
|
||||
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 " What can I do?"
|
||||
echo " ---------------------"
|
||||
@ -834,12 +834,12 @@
|
||||
#################################################################################
|
||||
#
|
||||
if [ ${RUN_HELPERS} -eq 1 ]; then
|
||||
InsertPluginSection "Audit Module"
|
||||
if [ ! "${HELPER}" = "" ]; then
|
||||
logtext "Helper tool is $HELPER"
|
||||
if [ -f ${INCLUDEDIR}/helper_${HELPER} ]; then
|
||||
SafePerms ${INCLUDEDIR}/helper_${HELPER}
|
||||
logtext "Running helper tool ${HELPER} with params: ${HELPER_PARAMS}"
|
||||
InsertPluginSection "Helper: ${HELPER}"
|
||||
. ${INCLUDEDIR}/helper_${HELPER} ${HELPER_PARAMS}
|
||||
else
|
||||
echo "Error, could not find helper"
|
||||
|
Loading…
x
Reference in New Issue
Block a user