mirror of https://github.com/CrimsonTome/tldr.git
17 lines
328 B
Markdown
17 lines
328 B
Markdown
# lynis
|
|
|
|
> System and security auditing tool.
|
|
> Documentation: <https://cisofy.com/documentation/lynis/>.
|
|
|
|
- Check that Lynis is up-to-date:
|
|
|
|
`sudo lynis update info`
|
|
|
|
- Run a security audit of the system:
|
|
|
|
`sudo lynis audit system`
|
|
|
|
- Run a security audit of a Dockerfile:
|
|
|
|
`sudo lynis audit dockerfile {{path/to/dockerfile}}`
|