File: tool_tips

package info (click to toggle)
lynis 3.1.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,260 kB
  • sloc: sh: 20,568; makefile: 2
file content (68 lines) | stat: -rw-r--r-- 2,205 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/bin/sh

#################################################################################
#
#   Lynis
# ------------------
#
# Copyright (c) Michael Boelen, CISOfy, and many contributors.
#
# Website  : https://cisofy.com
# Blog     : http://linux-audit.com
# GitHub   : https://github.com/CISOfy/lynis
#
# 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

        LogText "Tool tips: enabled"
        # * 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
        #
        # Detect if bash is used for active user
        #if [ -n "${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

    else
        LogText "Tool tips: enabled"

    fi


#
#================================================================================
# Lynis - Security Auditing and System Hardening for Linux and UNIX - https://cisofy.com