1Lynis(8) Unix System Administrator's Manual Lynis(8)
2
3
4
6 Lynis - Run an system and security audit on the system
7
9 lynis --check-all(-c) [other options]
10
12 Lynis is an auditing tool for Unix (specialists). It checks the system
13 and software configuration and logs all the found information into a
14 log file for debugging purposes, and in a report file suitable to cre‐
15 ate fancy looking auditing reports. Lynis can be run as a cronjob, or
16 from the command line. It needs to have full access to the system, so
17 running it as root (or with sudo rights) is required.
18
19 The following system areas may be checked:
20
21 - Boot loader files
22
23 - Configuration files
24
25 - Common files by software packages
26
27 - Directories and files related to logging and auditing
28
30 --auditor <full name>
31 Define the name of the auditor/pen-tester. When a full name is
32 used, add double quotes, like "Michael Boelen".
33
34
35 --checkall (or -c)
36 Lynis performs a full check of the system, printing out the
37 results of each test to stdout. Additional information will be
38 saved into a log file (default is /var/log/lynis.log).
39
40 In case the outcome of a scan needs to be automated, use the
41 report file.
42
43 --check-update (or --info)
44 Show program, database and update information
45
46 --cronjob
47 Perform automatic scan with cron safe options (no colors, no
48 questions, no breaks).
49
50 --no-colors
51 Do not use colors for messages, warnings and sections.
52
53 --no-log
54 Redirect all logging information to /dev/null, prevent sensitive
55 information to be written to disk.
56
57 --quick (-Q)
58 Do a quick scan (don't wait for user input)
59
60 --quiet (-q)
61 Try to run as silent as possible, showing only warnings. This
62 option activates --quick as well.
63
64 --reverse-colors
65 Optimize screen output for light backgrounds.
66
67 --tests TEST-IDs
68 Only run the specific test(s). When using multiple tests, add
69 quotes around the line.
70
71 Multiple parameters are allowed, though some parameters can only be
72 used together with others. When running Lynis without any parameters,
73 help will be shown and the program will exit.
74
76 There are no known bugs. Bugs can be reported directly to author.
77
79 Lynis is licensed under the GPL v3 license and under development by
80 Michael Boelen.
81
83 Project related questions and comments should be asked via
84 http://www.rootkit.nl/contact/.
85
86
87
881.08 15 December 2009 Lynis(8)