mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 11:58:34 +00:00
Update cheatsheets
This commit is contained in:
19
tldr/linux/semanage-permissive
Normal file
19
tldr/linux/semanage-permissive
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# semanage permissive
|
||||
|
||||
> Manage persistent SELinux permissive domains.
|
||||
> Note that this effectively makes the process unconfined. For long-term use, it is recommended to configure SELiunx properly.
|
||||
> See also: `semanage`, `getenforce`, `setenforce`.
|
||||
> More information: <https://manned.org/man/semanage-permissive>.
|
||||
|
||||
- List all process types (a.k.a domains) that are in permissive mode:
|
||||
|
||||
`sudo semanage permissive {{-l|--list}}`
|
||||
|
||||
- Set or unset permissive mode for a domain:
|
||||
|
||||
`sudo semanage permissive {{-a|--add|-d|--delete}} {{httpd_t}}`
|
||||
Reference in New Issue
Block a user