semanage
Verified for current stable LTS
Semanage Command: Set Or Unset Permissive Mode For Confined Domain
Use for set or unset permissive mode for confined domain with Semanage. Exact CLI syntax to set or unset permissive mode for confined domain using Semanage.
When to use this: Use for set or unset permissive mode for confined domain with Semanage.
Destructive Command Warning
Destructive operation. Confirm the target path and keep a backup before executing.
Command Syntax
sudo semanage permissive --add <httpd_t> sudo semanage permissive --add <httpd_t> Live Command Builder
Final Command
sudo semanage permissive --add <httpd_t> Command Breakdown
--add- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to set or unset permissive mode for confined domain using Semanage.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Semanage Command: Add User Defined File Context Labeling Rule
sudo semanage fcontext -a -t <samba_share_t> '/mnt/share(/.*)?' Semanage Command: Add User Defined Port Labeling Rule sudo semanage port -a -t <ssh_port_t> -p <tcp> <22000> Semanage Command: Import Customizations From File sudo semanage import -f <path/to/file> Semanage Command: Output Local Customizations To File sudo semanage export -f <path/to/file> Semanage Command: Set Or Unset Selinux Boolean sudo semanage boolean -m --on <haproxy_connect_any>