2015-09-10 21:05:04 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
#################################################################################
|
|
|
|
#
|
|
|
|
# Lynis
|
|
|
|
# ------------------
|
|
|
|
#
|
2016-03-13 16:00:39 +01:00
|
|
|
# Copyright 2007-2013, Michael Boelen
|
2018-01-11 09:50:26 +01:00
|
|
|
# Copyright 2007-2018, CISOfy
|
2016-03-13 16:00:39 +01:00
|
|
|
#
|
|
|
|
# Website : https://cisofy.com
|
|
|
|
# Blog : http://linux-audit.com
|
|
|
|
# GitHub : https://github.com/CISOfy/lynis
|
2015-09-10 21:05:04 +02:00
|
|
|
#
|
|
|
|
# Lynis comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
|
|
|
|
# welcome to redistribute it under the terms of the GNU General Public License.
|
|
|
|
# See LICENSE file for usage of this software.
|
|
|
|
#
|
|
|
|
#################################################################################
|
|
|
|
#
|
|
|
|
# Hints and Tips
|
|
|
|
#
|
|
|
|
#################################################################################
|
|
|
|
#
|
|
|
|
|
|
|
|
# Only show tips when enabled
|
|
|
|
if [ ${SHOW_TOOL_TIPS} -eq 1 ]; then
|
|
|
|
|
|
|
|
# Bash completion support
|
|
|
|
if [ ! "${ETC_PATHS}" = "" ]; then
|
|
|
|
for I in ${ETC_PATHS}; do
|
|
|
|
if [ -d ${I}/bash-completion.d ]; then
|
|
|
|
if [ ! -f ${ETC_PATHS}/bash_completion.d/lynis ]; then
|
2017-03-06 08:41:21 +01:00
|
|
|
Display "This system has a bash_completion directory. Copy extras/bash_completion.d/lynis to ${I} to get completion support for Lynis"
|
2015-09-10 21:05:04 +02:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#================================================================================
|
2016-03-13 16:03:46 +01:00
|
|
|
# Lynis - Security Auditing and System Hardening for Linux and UNIX - https://cisofy.com
|