mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
423 B
Plaintext
22 lines
423 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# lynis
|
|
|
|
> System and security auditing tool.
|
|
> More information: <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}}`
|