tldr/pages/linux/semanage-permissive.md

15 lines
540 B
Markdown

# 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}}`