CISOfy / lynis

Lynis - Security auditing tool for Linux, macOS, and UNIX-based systems. Assists with compliance testing (HIPAA/ISO27001/PCI DSS) and system hardening. Agentless, and installation optional.
https://cisofy.com/lynis/
GNU General Public License v3.0
13.4k stars 1.48k forks source link

[WARNING]: Deprecated function used (logtext) #733

Closed bcoles closed 5 years ago

bcoles commented 5 years ago

Freshly cloned from master branch, running on up-to-date Kali.

I like the part where it says [WARNING]: Deprecated function used (logtext).

root@kali-2018:~/Desktop/lynis# ./lynis 

[ Lynis 3.0.0 ]

################################################################################
  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 the LICENSE file for details about using this software.

  2007-2019, CISOfy - https://cisofy.com/lynis/
  Enterprise support available (compliance, plugins, interface and tools)
################################################################################

[+] Initializing program
------------------------------------

  Usage: lynis command [options]

  Command:

    audit
        audit system                  : Perform local security scan
        audit system remote <host>    : Remote security scan
        audit dockerfile <file>       : Analyze Dockerfile

    show
        show                          : Show all commands
        show version                  : Show Lynis version
        show help                     : Show help

    update
        update info                   : Show update details

  Options:

    --no-log                          : Don't create a log file
    --pentest                         : Non-privileged scan (useful for pentest)
    --profile <profile>               : Scan the system with the given profile file
    --quick (-Q)                      : Quick mode, don't wait for user input

    Layout options
    --no-colors                       : Don't use colors in output
    --quiet (-q)                      : No output
    --reverse-colors                  : Optimize color display for light backgrounds

    Misc options
    --debug                           : Debug logging to screen
    --view-manpage (--man)            : View man page
    --verbose                         : Show more details on screen
    --version (-V)                    : Display version number and quit

    Enterprise options
    --plugindir <path>                : Define path of available plugins
    --upload                          : Upload data to central node

    More options available. Run './lynis show options', or use the man page.

  No command provided. Exiting..

root@kali-2018:~/Desktop/lynis# ./lynis -Q

[ Lynis 3.0.0 ]

################################################################################
  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 the LICENSE file for details about using this software.

  2007-2019, CISOfy - https://cisofy.com/lynis/
  Enterprise support available (compliance, plugins, interface and tools)
################################################################################

[+] Initializing program
------------------------------------
  - Detecting OS...                                           [ DONE ]

  [WARNING]: Your profile contains old-style configuration entries. See log file for more details and how to convert these entries

  - Checking profiles...                                      [ DONE ]

  ---------------------------------------------------
  Program version:           3.0.0
  Operating system:          Linux
  Operating system name:     Debian
  Operating system version:  kali-rolling
  Kernel version:            4.19.0
  Hardware platform:         x86_64
  Hostname:                  kali-2018
  ---------------------------------------------------
  Profiles:                  /etc/lynis/default.prf
  Log file:                  /var/log/lynis.log
  Report file:               /var/log/lynis-report.dat
  Report version:            1.0
  Plugin directory:          /etc/lynis/plugins
  ---------------------------------------------------
  Auditor:                   [Not Specified]
  Language:                  en
  Test category:             all
  Test group:                all
  ---------------------------------------------------
  - Program update status...                                  [ UNKNOWN ]

[+] System Tools
------------------------------------
  - Scanning available tools...
  - Checking system binaries...

[+] Plugins (phase 1)
------------------------------------
 Note: plugins have more extensive tests and may take several minutes to complete

  - Plugin: debian
    [
[+] Debian Tests
------------------------------------
  - Checking for system binaries that are required by Debian Tests...

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

    - Checking /bin...                                        [ FOUND ]

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

 trimmed...

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtextbreak)

  [WARNING]: Deprecated function used (logtext)

    - Checking /usr/sbin...                                   [ FOUND ]

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtextbreak)

  [WARNING]: Deprecated function used (logtext)

    - Checking /usr/local/bin...                              [ FOUND ]

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtextbreak)

  [WARNING]: Deprecated function used (logtext)

    - Checking /usr/local/sbin...                             [ FOUND ]

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtextbreak)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  - Authentication:

  [WARNING]: Deprecated function used (logtext)

    - PAM (Pluggable Authentication Modules):

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Test CUST-0001 had a long execution: 19.298862 seconds

      - libpam-tmpdir                                         [ Not Installed ]

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

      - libpam-usb                                            [ Not Installed ]

  [WARNING]: Deprecated function used (logtext)

  - File System Checks:

  [WARNING]: Deprecated function used (logtext)

    - DM-Crypt, Cryptsetup & Cryptmount:

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

      - Checking / on /dev/sda1                               [ NOT ENCRYPTED ]
  - Software:

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

    - apt-listbugs                                            [ Not Installed ]

  [WARNING]: Deprecated function used (logtext)

  [WARNING]: Deprecated function used (logtext)

    - apt-listchanges                                         [ Installed and enabled for apt ]

  [WARNING]: Deprecated function used (logtext)

    - checkrestart                                            [ Not Installed ]

  [WARNING]: Deprecated function used (logtext)

    - needrestart                                             [ Not Installed ]

  [WARNING]: Deprecated function used (logtext)

    - debsecan                                                [ Not Installed ]

  [WARNING]: Deprecated function used (logtext)

    - debsums                                                 [ Not Installed ]

  [WARNING]: Deprecated function used (logtext)

    - fail2ban                                                [ Not Installed ]

  [WARNING]: Deprecated function used (logtextbreak)

  [WARNING]: Deprecated function used (wait_for_keypress)

[ Press [ENTER] to continue, or [CTRL]+C to stop ]
^C
Interrupt detected.
 Cleaning up...  [ DONE ]
root@kali-2018:~/Desktop/lynis# 
mboelen commented 5 years ago

By any chance Lynis also installed as a package?

bcoles commented 5 years ago

By any chance Lynis also installed as a package?

Yes, yes it is:

root@kali-2018:/# apt show lynis
Package: lynis
Version: 2.6.2-1
Priority: optional
Section: utils
Maintainer: Francisco Manuel Garcia Claramonte <francisco@debian.org>
Installed-Size: 1,385 kB
Depends: e2fsprogs
Recommends: menu
Suggests: dnsutils, apt-listbugs, debsecan, debsums, tripwire, samhain, aide, fail2ban
Homepage: http://cisofy.com/lynis/
Tag: interface::commandline, role::program, scope::utility,
 security::integrity, security::log-analyzer, use::checking,
 use::monitor
Download-Size: 220 kB
APT-Manual-Installed: no
APT-Sources: http://http.kali.org/kali kali-rolling/main amd64 Packages
Description: security auditing tool for Unix based systems
 Lynis is an auditing tool for hardening GNU/Linux and Unix based systems.
 It scans the system configuration and creates an overview of system information
 and security issues usable by professional auditors.
 It can assist in automated audits.
 .
 Lynis can be used in addition to other software, like security
 scanners, system benchmarking and fine-tuning tools.

root@kali-2018:/# which lynis
/usr/sbin/lynis
root@kali-2018:/# 
mboelen commented 5 years ago

Having two different Lynis versions installed may conflict.

Suggestion:

Choose one and the errors should be gone :)

its0x08 commented 4 years ago

Having two different Lynis versions installed may conflict.

Suggestion:

* Prefer the very latest version (in development)? Deinstall the Lynis package and use the one from GitHub and keep it up-to-date.

* Prefer to have the latest stable version? Use that from https://packages.cisofy.com/ instead of that of Debian

Choose one and the errors should be gone :)

I did uninstall the apt version of lynis from my kali machine and used only the github one.. The thing is that i still get this line : [WARNING]: Deprecated function used (logtext) and it doesnt show off anymore when i use --use-cwd flag

mboelen commented 4 years ago

@its0x08 - seeing it works with --use-cwd, it looks like the installation is not fully removed. Maybe in /usr/local/lynis? Otherwise lynis show includedir might give a hint, or use find, or strace to see what paths are tried and used.

As this existing issue is old, please open a new one if you can't get it resolved.

Varbin commented 4 years ago

@its0x08 The Debian / Ubuntu downstream package contains an additional plugin specifically for Debian / Ubuntu (about e.g. Debian goodies or so on), this one uses the deprecated function.

vlazic commented 3 years ago

I had to purge lynis to completely remove these warnings:

root@vlazic-ea:/var/log/lynis# apt purge lynis
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  lynis*
0 upgraded, 0 newly installed, 1 to remove and 27 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
(Reading database ... 310425 files and directories currently installed.)
Purging configuration files for lynis (2.6.2-1) ...
dpkg: warning: while removing lynis, directory '/etc/lynis' not empty so not removed
[master d910a16] committing changes in /etc made by "apt purge lynis"
 5 files changed, 1179 deletions(-)
 delete mode 100644 lynis/README
 delete mode 100644 lynis/default.prf
 delete mode 100755 lynis/plugins/custom_plugin.template
 delete mode 100644 lynis/plugins/plugin_debian_phase1
mboelen commented 3 years ago

@vlazic Please contact the Debian package maintainer about this. We believe it is in the best interest for all to get everything into the master, so that no additional patches have to be applied to OS-specific packages.