Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormboelen <michael@cisofy.com>2015-10-15 16:57:27 +0300
committermboelen <michael@cisofy.com>2015-10-15 16:57:27 +0300
commita5583da5c3037ad4db6c924b8e8b94d9e65ab925 (patch)
treec70e8408f10cdd42fac1a27fbd0bb817f3d324f7
parent9d1cec8a9b1b0a235d902a664548634bb346349c (diff)
Adding correct variables for proper logging and testing
-rw-r--r--include/consts2
-rwxr-xr-xlynis2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/consts b/include/consts
index 528d9d1d..e9b1512f 100644
--- a/include/consts
+++ b/include/consts
@@ -42,6 +42,7 @@ unset LANG
#
AUDITORNAME=""
AUTH_FAILED_LOGINS_LOGGED=0
+ AUTH_UNLOCK_TIME=-1
PROFILE=""
REPORTFILE=""
AFICKBINARY=""
@@ -84,6 +85,7 @@ unset LANG
MACHINEID=""
MACHINE_ROLE=""
MALWARE_SCANNER_INSTALLED=0
+ MIN_PASSWORD_LENGTH=-1
NAME_CACHE_USED=0
NGINX_ACCESS_LOG_DISABLED=0
NGINX_ACCESS_LOG_MISSING=0
diff --git a/lynis b/lynis
index 459a6cae..639191a3 100755
--- a/lynis
+++ b/lynis
@@ -663,7 +663,7 @@
# Search plugins
FIND_PLUGINS=`find ${PLUGINDIR} -type f -name "plugin_[a-z]*" -exec echo \{\} \; | sort`
for PLUGIN_FILE in ${FIND_PLUGINS}; do
- logtext "Found plugin file: ${I}"
+ logtext "Found plugin file: ${PLUGIN_FILE}"
# Double check if output is a valid file name
if [ -f ${PLUGIN_FILE} ]; then
FIND2=`grep "^# PLUGIN_NAME=" ${PLUGIN_FILE} | awk -F= '{ print $2 }'`