semanage-permissive(8)
π semanage-permissive β SELinux Policy Management permissive mapping tool π
okay bestie, welcome to the semanage-permissive page from section 8 of the manual β yes, the one and only, and she's iconic for a reason π
β¨ SYNOPSIS β¨
semanage permissive [-h] [-n] [-N] [-S STORE] (--add TYPE | --delete
TYPE | --deleteall | --extract | --list)
πΈ DESCRIPTION πΈ
so, semanage is literally the tool you use to configure certain elements of SELinux policy without needing to modify or recompile anything from the policy sources. no cap. π
And semanage permissive is the one that adds or removes a SELinux Policy permissive module. Obsessed.
π¨ bestie, listen β this command can make any domain permissive, but it can only remove the permissive property from domains where it was added bysemanage permissiveitself. fr fr. That meanssemanage permissive -dcan only be used on types listed as "Customized Permissive Types" bysemanage permissive -l. iykyk. Don't try it on anything else, she will not cooperate π
π¦ OPTIONS π¦
-h,--helpβ shows this help message and then dips. bye! π-a,--addβ add a record of the specified object type. new record, who dis β¨-d,--deleteβ delete a record of the specified object type. it's giving cleanup era π§Ή-D,--deleteallβ remove all local customizations of permissive domains. the full reset, main character energy π₯-l,--listβ list records of the specified object type. show me the receipts π-E,--extractβ extract customizable commands, for use within a transaction. very transactional of you π-n,--noheadingβ do not print the heading when listing the specified object type. no header, just vibes π-N,--noreloadβ do not reload the policy after commit. lowkey risky but okay π«Ά-S STORE,--store STOREβ select an alternate SELinux Policy Store to manage. shop somewhere else bestie ποΈ
π EXAMPLE π
List all permissive domains ("Builtin Permissive Types" where set by the system policy, or a custom policy module) π
# semanage permissive -l
Make httpd_t (Web Server) a permissive domain β
# semanage permissive -a httpd_t
π« SEE ALSO π«
selinux(8), semanage(8) β go read those too, they ate π
π AUTHOR π
This man page was written by Daniel Walsh <dwalsh@redhat.com> β thank you king, we love a documentation moment π«Ά
sign-off time, bestie: this page is from 20130617 and it lives in the semanage-permissive(8) manual. mwah π take care of your SELinux policy and she'll take care of you πΈβ¨π¦
π¦ where this page comes from
- centos-stream 10: policycoreutils-python-utils 3.10-2.el10 Β· GPL-2.0-or-later
- centos-stream 10: policycoreutils-python-utils 3.11-1.el10 Β· GPL-2.0-or-later
- centos-stream 9: policycoreutils-python-utils 3.6-7.el9 Β· GPL-2.0-or-later
- centos-stream 9: policycoreutils-python-utils 3.6-9.el9 Β· GPL-2.0-or-later
- debian trixie: policycoreutils-python-utils 3.8.1-2 Β· GPL-2.0-or-later
- fedora 43: policycoreutils-python-utils 3.9-5.fc43 Β· GPL-2.0-or-later
- fedora 43: policycoreutils-python-utils 3.9-7.fc43 Β· GPL-2.0-or-later
- fedora 44: policycoreutils-python-utils 3.10-1.fc44 Β· GPL-2.0-or-later
- fedora 44: policycoreutils-python-utils 3.11-2.fc44 Β· GPL-2.0-or-later
- nixos 26.05: selinux-python 3.10
- nixpkgs unstable: selinux-python 3.10
- opensuse-leap 16.0: policycoreutils-python-utils 3.8.1-160000.5.1 Β· GPL-2.0-or-later
- ubuntu questing: policycoreutils-python-utils 3.8.1-2
- ubuntu resolute: policycoreutils-python-utils 3.9-2 Β· GPL-2.0-or-later
- ubuntu stonking: policycoreutils-python-utils 3.11-2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms