1semanage-module(8) semanage-module(8)
2
3
4
6 semanage-module - SELinux Policy Management module mapping tool
7
9 semanage module [-h] [-n] [-N] [-S STORE] (-a | -r | -e | -d | --ex‐
10 tract | --list [-C] | --deleteall) [module_name]
11
12
14 semanage is used to configure certain elements of SELinux policy with‐
15 out requiring modification to or recompilation from policy sources.
16 semanage module installs, removes, disables, or enables SELinux Policy
17 modules.
18
19
21 -h, --help
22 Show this help message and exit
23
24 -n, --noheading
25 Do not print heading when listing the specified object type
26
27 -N, --noreload
28 Do not reload policy after commit
29
30 -S STORE, --store STORE
31 Select an alternate SELinux Policy Store to manage
32
33 -a, --add
34 Install specified module. Accepts both binary policy files (.pp)
35 and CIL source files
36
37 -r, --remove
38 Remove specified module
39
40 -D, --deleteall
41 Remove all local customizations related to modules
42
43 -d --disable
44 Disable specified module
45
46 -e --enable
47 Enable specified module
48
49 -E, --extract
50 Extract customizable commands, for use within a transaction
51
52 -l, --list
53 List records of the specified object type
54
55 -C, --locallist
56 List local customizations
57
58
60 List all modules
61 # semanage module -l
62 Disable unconfined module
63 # semanage module --disable unconfined
64 Install custom apache policy module (same as #semodule -i myapache.pp)
65 # semanage module -a myapache.pp
66
67
69 selinux(8), semanage(8), semodule(8)
70
71
73 This man page was written by Daniel Walsh <dwalsh@redhat.com>
74
75
76
77 20130617 semanage-module(8)