mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-12 09:05:00 +00:00
48dc232627
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
38 lines
1.1 KiB
Groff
38 lines
1.1 KiB
Groff
.TH "semanage-export" "8" "20130617" "" ""
|
|
.SH "NAME"
|
|
.B semanage\-export \- SELinux Policy Management import tool
|
|
.SH "SYNOPSIS"
|
|
.B semanage export [\-h] [\-S STORE] [\-f OUTPUT_FILE]
|
|
|
|
.SH "DESCRIPTION"
|
|
semanage is used to configure certain elements of
|
|
SELinux policy without requiring modification to or recompilation
|
|
from policy sources. semanage import and export can be used to extract the SELinux modifications from one machine and apply them to another. You can put a whole group of semanage commands within a file and apply them to a machine in a single transaction.
|
|
|
|
.SH "OPTIONS"
|
|
.TP
|
|
.I \-h, \-\-help
|
|
show this help message and exit
|
|
.TP
|
|
.I \-S STORE, \-\-store STORE
|
|
Select an alternate SELinux Policy Store to manage
|
|
.TP
|
|
.I \-f OUTPUT_FILE, \-\-output_file OUTPUT_FILE
|
|
Output file
|
|
|
|
.SH EXAMPLE
|
|
.nf
|
|
Import semanage modifications from another machine
|
|
# semanage export \-f semanage.mods
|
|
# scp semanage.mod remotemachine:
|
|
# ssh remotemachine
|
|
# semanage import \-f semanage.mods
|
|
|
|
.SH "SEE ALSO"
|
|
.B selinux (8),
|
|
.B semanage (8),
|
|
.B semanage-import (8)
|
|
|
|
.SH "AUTHOR"
|
|
This man page was written by Daniel Walsh <dwalsh@redhat.com>
|