linux:selinux_cheatsheet
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
linux:selinux_cheatsheet [2023/02/27 14:24] – dodger | linux:selinux_cheatsheet [2023/02/27 14:25] (current) – dodger | ||
---|---|---|---|
Line 19: | Line 19: | ||
+ | ===== Restore Default Security Contexts ===== | ||
+ | Over 1 file: | ||
+ | <code bash> | ||
+ | restorecon -v / | ||
+ | </ | ||
+ | or to recursively restore the default security contexts for the whole directory: | ||
+ | <code bash> | ||
+ | restorecon -Rv / | ||
+ | </ | ||
====== Networking ====== | ====== Networking ====== |
linux/selinux_cheatsheet.1677507856.txt.gz · Last modified: 2023/02/27 14:24 by dodger