LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

semanage-permissive

Manage per-domain SELinux permissive mode

TLDR

List all process types in permissive mode
$ sudo semanage permissive -l
copy
Set permissive mode for a domain
$ sudo semanage permissive -a [httpd_t]
copy
Unset permissive mode for a domain
$ sudo semanage permissive -d [httpd_t]
copy

SYNOPSIS

semanage permissive [-l|-a|-d] [domain]

DESCRIPTION

semanage permissive manages per-domain permissive mode in SELinux. When a domain is set to permissive, SELinux logs policy violations but does not enforce them for processes in that domain.This provides more granular control than global permissive mode (setenforce 0), allowing specific services to be unconfined while the rest of the system remains in enforcing mode.

PARAMETERS

-l, --list

List all domains in permissive mode
-a, --add
Add a domain to permissive mode
-d, --delete
Remove a domain from permissive mode

CAVEATS

Permissive domains are effectively unconfined and should only be used for troubleshooting. For production systems, configure proper SELinux policy rules instead of leaving domains in permissive mode. Requires root privileges.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid