1semanage-export(8) semanage-export(8)
2
3
4
6 semanage-export - SELinux Policy Management import tool
7
9 semanage export [-h] [-S STORE] [-f OUTPUT_FILE]
10
11
13 semanage is used to configure certain elements of SELinux policy with‐
14 out requiring modification to or recompilation from policy sources.
15 semanage import and export can be used to extract the SELinux modifica‐
16 tions from one machine and apply them to another. You can put a whole
17 group of semanage commands within a file and apply them to a machine in
18 a single transaction.
19
20
22 -h, --help
23 show this help message and exit
24
25 -S STORE, --store STORE
26 Select an alternate SELinux Policy Store to manage
27
28 -f OUTPUT_FILE, --output_file OUTPUT_FILE
29 Output file
30
31
33 Import semanage modifications from another machine
34 # semanage export -f semanage.mods
35 # scp semanage.mod remotemachine:
36 # ssh remotemachine
37 # semanage import -f semanage.mods
38
39
41 selinux (8), semanage (8), semanage-import (8)
42
43
45 This man page was written by Daniel Walsh <dwalsh@redhat.com>
46
47
48
49 20130617 semanage-export(8)