Debian Codegraph @

python/semanage/semanage-export.8

raw
1 .TH "semanage-export" "8" "20130617" "" ""
2 .SH "NAME"
3 .B semanage\-export \- SELinux Policy Management import tool
4 .SH "SYNOPSIS"
5 .B semanage export [\-h] [\-S STORE] [\-f OUTPUT_FILE]
6
7 .SH "DESCRIPTION"
8 semanage is used to configure certain elements of
9 SELinux policy without requiring modification to or recompilation
10 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.
11
12 .SH "OPTIONS"
13 .TP
14 .I \-h, \-\-help
15 show this help message and exit
16 .TP
17 .I \-S STORE, \-\-store STORE
18 Select an alternate SELinux Policy Store to manage
19 .TP
20 .I \-f OUTPUT_FILE, \-\-output_file OUTPUT_FILE
21 Output file
22
23 .SH EXAMPLE
24 .nf
25 Import semanage modifications from another machine
26 # semanage export \-f semanage.mods
27 # scp semanage.mod remotemachine:
28 # ssh remotemachine
29 # semanage import \-f semanage.mods
30
31 .SH "SEE ALSO"
32 .BR selinux (8),
33 .BR semanage (8),
34 .BR semanage-import (8)
35
36 .SH "AUTHOR"
37 This man page was written by Daniel Walsh <[email protected]>