mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-24 06:51:59 +00:00
Update cheatsheets
This commit is contained in:
21
linux/lynis
Normal file
21
linux/lynis
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
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}}`
|
||||
Reference in New Issue
Block a user