mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-22 14:02:17 +00:00
97ec1f70eb
- Add missing options - Add more examples - Note special cases Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
66 lines
1.7 KiB
Groff
66 lines
1.7 KiB
Groff
.TH "semanage-module" "8" "20130617" "" ""
|
|
.SH "NAME"
|
|
.B semanage\-module \- SELinux Policy Management module mapping tool
|
|
.SH "SYNOPSIS"
|
|
.B semanage module [\-h] [\-n] [\-N] [\-S STORE] (\-a | \-r | \-e | \-d | \-\-extract | \-\-list [\-C] | \-\-deleteall) [module_name]
|
|
|
|
.SH "DESCRIPTION"
|
|
semanage is used to configure certain elements of SELinux policy without requiring modification to or recompilation from policy sources.
|
|
.B semanage module
|
|
installs, removes, disables, or enables SELinux Policy modules.
|
|
|
|
.SH "OPTIONS"
|
|
.TP
|
|
.I \-h, \-\-help
|
|
Show this help message and exit
|
|
.TP
|
|
.I \-n, \-\-noheading
|
|
Do not print heading when listing the specified object type
|
|
.TP
|
|
.I \-N, \-\-noreload
|
|
Do not reload policy after commit
|
|
.TP
|
|
.I \-S STORE, \-\-store STORE
|
|
Select an alternate SELinux Policy Store to manage
|
|
.TP
|
|
.I \-a, \-\-add
|
|
Install specified module. Accepts both binary policy files (.pp) and CIL source files
|
|
.TP
|
|
.I \-r, \-\-remove
|
|
Remove specified module
|
|
.TP
|
|
.I \-D, \-\-deleteall
|
|
Remove all local customizations related to modules
|
|
.TP
|
|
.I \-d \-\-disable
|
|
Disable specified module
|
|
.TP
|
|
.I \-e \-\-enable
|
|
Enable specified module
|
|
.TP
|
|
.I \-E, \-\-extract
|
|
Extract customizable commands, for use within a transaction
|
|
.TP
|
|
.I \-l, \-\-list
|
|
List records of the specified object type
|
|
.TP
|
|
.I \-C, \-\-locallist
|
|
List local customizations
|
|
|
|
.SH EXAMPLE
|
|
.nf
|
|
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
|
|
|
|
.SH "SEE ALSO"
|
|
.BR selinux (8),
|
|
.BR semanage (8),
|
|
.BR semodule (8)
|
|
|
|
.SH "AUTHOR"
|
|
This man page was written by Daniel Walsh <dwalsh@redhat.com>
|