1semanage-export(8)                                          semanage-export(8)
2
3
4

NAME

6       semanage-export - SELinux Policy Management import tool
7

SYNOPSIS

9       semanage export [-h] [-S STORE] [-f OUTPUT_FILE]
10
11

DESCRIPTION

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. Please note that this
17       will  remove  all current semanage customizations on the second machine
18       as the command list generated using semanage export  start  with  <com‐
19       mand>  -D  for  all semanage sub-commands. You can put a whole group of
20       semanage commands within a file and apply them to a machine in a single
21       transaction.
22
23

OPTIONS

25       -h, --help
26              show this help message and exit
27
28       -S STORE, --store STORE
29              Select an alternate SELinux Policy Store to manage
30
31       -f OUTPUT_FILE, --output_file OUTPUT_FILE
32              Output file
33
34

EXAMPLE

36       Import semanage modifications from another machine
37       # semanage export -f semanage.mods
38       # scp semanage.mod remotemachine:
39       # ssh remotemachine
40       # semanage import -f semanage.mods
41
42

SEE ALSO

44       selinux(8), semanage(8), semanage-import(8)
45
46

AUTHOR

48       This man page was written by Daniel Walsh <dwalsh@redhat.com>
49
50
51
52                                   20130617                 semanage-export(8)
Impressum