semanage-module(8) semanage-module(8)

# [NAME](#NAME)

**semanage-module - SELinux Policy Management module mapping tool**

# [SYNOPSIS](#SYNOPSIS)

**semanage module \[-h] \[-n] \[-N] \[-S STORE] (-a | -r | -e | -d | --extract | --list \[-C] | --deleteall) \[module\_name]**

# [DESCRIPTION](#DESCRIPTION)

semanage is used to configure certain elements of SELinux policy without requiring modification to or recompilation from policy sources. **semanage module** installs, removes, disables, or enables SELinux Policy modules.

# [OPTIONS](#OPTIONS)

[*-h, --help*](#h,)

Show this help message and exit

[*-n, --noheading*](#n,)

Do not print heading when listing the specified object type

[*-N, --noreload*](#N,)

Do not reload policy after commit

[*-S STORE, --store STORE*](#S)

Select an alternate SELinux Policy Store to manage

[*-a, --add*](#a,)

Install specified module. Accepts both binary policy files (.pp) and CIL source files

[*-r, --remove*](#r,)

Remove specified module

[*-D, --deleteall*](#D,)

Remove all local customizations related to modules

[*-d --disable*](#d)

Disable specified module

[*-e --enable*](#e)

Enable specified module

[*-E, --extract*](#E,)

Extract customizable commands, for use within a transaction

[*-l, --list*](#l,)

List records of the specified object type

[*-C, --locallist*](#C,)

List local customizations

# [EXAMPLE](#EXAMPLE)

```
List all modules
# semanage module -l
Disable unconfined module
# semanage module --disable unconfined
Install custom apache policy module (same as #semodule -i myapache.pp)
# semanage module -a myapache.pp
```

# [SEE ALSO](#SEE_ALSO)

[**selinux**(8)](/man/enterprise-packages/py3-sepolgen/selinux.8), [**semanage**(8)](/man/enterprise-packages/py3-sepolgen/semanage.8), [**semodule**(8)](/man/enterprise-packages/py3-sepolgen/semodule.8)

# [AUTHOR](#AUTHOR)

This man page was written by Daniel Walsh &lt;dwalsh@redhat.com&gt;

20130617

---

Document: semanage-module(8) from py3-sepolgen 3.11-r1 (Chainguard OS)
Source: https://github.com/SELinuxProject/selinux.git
