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:
authorMichael Boelen <michael.boelen@cisofy.com>2019-03-14 14:30:37 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-03-14 14:30:37 +0300
commit3cf64ff5a6940f706eb3c6f62f09b0c0fba0f8aa (patch)
tree81cd5f56ae9b8e0296394bf76b25f2daac0dec79 /include/tool_tips
parentf828a06bec0e42480982feabf2c9b5087382db51 (diff)
Preparations for user tips to improve usage of tool
Diffstat (limited to 'include/tool_tips')
-rw-r--r--include/tool_tips38
1 files changed, 29 insertions, 9 deletions
diff --git a/include/tool_tips b/include/tool_tips
index 304e9e28..343a943c 100644
--- a/include/tool_tips
+++ b/include/tool_tips
@@ -26,16 +26,36 @@
# Only show tips when enabled
if [ ${SHOW_TOOL_TIPS} -eq 1 ]; then
+ # * Regular security auditing
+ #
+ # If package is installed, then suggest users to schedule the audit daily
+ # How: confirm presence of directory /etc/lynis and check cronjobs
+
+
+ # * Check for duplicate items between default and custom profile
+ #
+ # This can be done by marking an item if it overwrites the default profile
+ # with the same value.
+ #
+ # Rationale: default profile should contain have sensible default and
+ # custom profile allows customization for the user or system.
+
+
+ # Suggest usage of plugins if none are enabled
+
+
# 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
- Display "This system has a bash_completion directory. Copy extras/bash_completion.d/lynis to ${I} to get completion support for Lynis"
- fi
- fi
- done
- fi
+ #
+ # Detect if bash is used for active user
+ #if [ ! -z "${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
+ # Display "This system has a bash_completion directory. Copy extras/bash_completion.d/lynis to ${I} to get completion support for Lynis"
+ # fi
+ # fi
+ # done
+ #fi
fi