mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-04 07:43:43 +00:00
24 lines
708 B
Plaintext
24 lines
708 B
Plaintext
---
|
|
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/semanage-permissive>.
|
|
|
|
- List all process types (a.k.a domains) that are in permissive mode:
|
|
|
|
`sudo semanage permissive {{[-l|--list]}}`
|
|
|
|
- Set permissive mode for a domain:
|
|
|
|
`sudo semanage permissive {{[-a|--add]}} {{httpd_t}}`
|
|
|
|
- Unset permissive mode for a domain:
|
|
|
|
`sudo semanage permissive {{[-d|--delete]}} {{httpd_t}}`
|