<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://it-arts.net/index.php?action=history&amp;feed=atom&amp;title=LYNIS_-_Documentation</id>
	<title>LYNIS - Documentation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://it-arts.net/index.php?action=history&amp;feed=atom&amp;title=LYNIS_-_Documentation"/>
	<link rel="alternate" type="text/html" href="https://it-arts.net/index.php?title=LYNIS_-_Documentation&amp;action=history"/>
	<updated>2026-05-02T18:58:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://it-arts.net/index.php?title=LYNIS_-_Documentation&amp;diff=1001&amp;oldid=prev</id>
		<title>Admin: Text replacement - &quot;Category:Wiki&quot; to &quot;Category:Wiki

&#039;&#039;&#039;&#039;&#039;[https://it-arts.net/index.php/Category:Wiki Return to Wiki Index]&#039;&#039;&#039;&#039;&#039;
&quot;</title>
		<link rel="alternate" type="text/html" href="https://it-arts.net/index.php?title=LYNIS_-_Documentation&amp;diff=1001&amp;oldid=prev"/>
		<updated>2026-01-17T08:13:18Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;&lt;a href=&quot;/index.php/Category:Wiki&quot; title=&quot;Category:Wiki&quot;&gt;Category:Wiki&lt;/a&gt;&amp;quot; to &amp;quot;&lt;a href=&quot;/index.php/Category:Wiki&quot; title=&quot;Category:Wiki&quot;&gt;Category:Wiki&lt;/a&gt;  &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;[https://it-arts.net/index.php/Category:Wiki Return to Wiki Index]&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; &amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:13, 17 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Wiki]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Wiki]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&#039;&#039;[https://it-arts.net/index.php/Category:Wiki Return to Wiki Index]&#039;&#039;&#039;&#039;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Usage ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Usage ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://it-arts.net/index.php?title=LYNIS_-_Documentation&amp;diff=505&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;Category:Wiki  == Usage == The basic syntax for using Lynis is as follows:   &lt;nowiki&gt; lynis [OPTIONS] [COMMAND]&lt;/nowiki&gt;  Where `OPTIONS` define the behavior of the scan and `COMMAND` specifies which audit tasks to perform.  == Command Line Options == Lynis offers a range of command-line options that allow for customization of the audit process.  === Common Options ===  * `--help`     Displays the help message, listing all available commands and options.   &lt;nowiki&gt; l...&quot;</title>
		<link rel="alternate" type="text/html" href="https://it-arts.net/index.php?title=LYNIS_-_Documentation&amp;diff=505&amp;oldid=prev"/>
		<updated>2025-12-14T08:34:08Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php/Category:Wiki&quot; title=&quot;Category:Wiki&quot;&gt;Category:Wiki&lt;/a&gt;  == Usage == The basic syntax for using Lynis is as follows:   &amp;lt;nowiki&amp;gt; lynis [OPTIONS] [COMMAND]&amp;lt;/nowiki&amp;gt;  Where `OPTIONS` define the behavior of the scan and `COMMAND` specifies which audit tasks to perform.  == Command Line Options == Lynis offers a range of command-line options that allow for customization of the audit process.  === Common Options ===  * `--help`     Displays the help message, listing all available commands and options.   &amp;lt;nowiki&amp;gt; l...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Wiki]]&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
The basic syntax for using Lynis is as follows:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
lynis [OPTIONS] [COMMAND]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where `OPTIONS` define the behavior of the scan and `COMMAND` specifies which audit tasks to perform.&lt;br /&gt;
&lt;br /&gt;
== Command Line Options ==&lt;br /&gt;
Lynis offers a range of command-line options that allow for customization of the audit process.&lt;br /&gt;
&lt;br /&gt;
=== Common Options ===&lt;br /&gt;
&lt;br /&gt;
* `--help`  &lt;br /&gt;
  Displays the help message, listing all available commands and options.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
lynis --help&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* `--version`  &lt;br /&gt;
  Displays the version of Lynis installed on the system.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
lynis --version&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* `--verbose`  &lt;br /&gt;
  Provides additional details about the tests being performed. Can be used multiple times to increase verbosity.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
lynis --verbose&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* `--quick`  &lt;br /&gt;
  Performs a faster scan by skipping certain checks that may take more time.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
lynis --quick&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* `--cron`  &lt;br /&gt;
  Runs Lynis in cron mode, which generates less output for automated reports.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
lynis --cron&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Specific Commands ===&lt;br /&gt;
&lt;br /&gt;
* `audit system`  &lt;br /&gt;
  Initiates a full audit of the system, checking configuration settings, software packages, and security policies.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
lynis audit system&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* `audit plugin`  &lt;br /&gt;
  Runs an audit using specific plugins. Plugins are modular checks that can be enabled or disabled based on user requirements.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
lynis audit plugin&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* `--tests &amp;lt;testfile&amp;gt;`  &lt;br /&gt;
  Specifies a custom test file to use instead of the default. This can be useful for focusing on a specific set of checks.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
lynis --tests my_testfile&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Output and Reporting ==&lt;br /&gt;
Lynis produces output in several formats, including detailed console output and reports saved to files.&lt;br /&gt;
&lt;br /&gt;
=== Output Types ===&lt;br /&gt;
&lt;br /&gt;
* `stdout`  &lt;br /&gt;
  The standard output for the audit results is printed to the terminal by default.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
lynis audit system&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* `report-file`  &lt;br /&gt;
  Lynis can store the audit results in a file, which can be later reviewed or processed. The file path can be specified using the `--report-file` option.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
lynis audit system --report-file /path/to/report.txt&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* `json`  &lt;br /&gt;
  For easier automation, Lynis can output the results in JSON format. This allows integration with other tools and scripting.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
lynis audit system --json&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Log Files ===  &lt;br /&gt;
Lynis creates log files in the `/var/log/lynis` directory by default. These logs store detailed information about each scan, including any issues detected.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
cat /var/log/lynis/lynis.log&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Detailed Audit ==&lt;br /&gt;
The detailed audit output provides information about the security posture of the system and highlights areas that need attention. Each item is assigned a severity score, ranging from 0 (no issue) to 100 (critical issue).&lt;br /&gt;
&lt;br /&gt;
For example, you may see something like:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
+ Test name: File Permissions&lt;br /&gt;
  Severity: 50&lt;br /&gt;
  Description: Check file permissions to ensure sensitive files are not accessible by unauthorized users.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These results are grouped by categories, such as:&lt;br /&gt;
* System&lt;br /&gt;
* Networking&lt;br /&gt;
* Authentication&lt;br /&gt;
* Applications&lt;br /&gt;
* Filesystem&lt;br /&gt;
&lt;br /&gt;
== Customizing Lynis Audits ==&lt;br /&gt;
Lynis allows users to customize the tests that are run during an audit by using configuration files or command-line options. For advanced use cases, users may modify the `/etc/lynis/lynis.cfg` file to disable or enable specific tests.&lt;br /&gt;
&lt;br /&gt;
=== Example: Disable Specific Tests ===  &lt;br /&gt;
To disable specific tests, edit the configuration file `/etc/lynis/lynis.cfg` and comment out unwanted tests.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
# Disable check for empty passwords&lt;br /&gt;
disable-tests = 1830&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Example: Enable Custom Test Suite ===  &lt;br /&gt;
To use a custom test suite, specify the location of the test file with the `--tests` option.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
lynis audit system --tests /path/to/custom_tests&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Scheduling Lynis Audits ==&lt;br /&gt;
Lynis can be automated through cron jobs for periodic scans. A common approach is to schedule a nightly audit to monitor system security on an ongoing basis.&lt;br /&gt;
&lt;br /&gt;
=== Example Cron Job ===  &lt;br /&gt;
To schedule a nightly Lynis audit at 2 AM, add the following cron job:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
0 2 * * * /usr/local/bin/lynis audit system --cron&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Useful Links ==&lt;br /&gt;
* [https://cisofy.com/lynis/ Official Lynis Website]&lt;br /&gt;
* [https://github.com/CISOfy/lynis Lynis GitHub Repository]&lt;br /&gt;
* [https://cisofy.com/lynis/documentation/ Lynis Documentation]&lt;br /&gt;
* [https://cisofy.com/lynis/tutorial/ Lynis Tutorial]&lt;br /&gt;
* [https://www.cyberciti.biz/faq/linux-security-auditing-lynis-tool/ Security Auditing with Lynis - Linuxize]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>