semanage-export - Man Page
SELinux Policy Management import tool
Synopsis
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. Please note that this will remove all current semanage customizations on the second machine as the command list generated using semanage export start with <command> -D for all semanage sub-commands. You can put a whole group of semanage commands within a file and apply them to a machine in a single transaction.
Options
- -h, ā--help
show this help message and exit
- -S STORE, --store STORE
Select an alternate SELinux Policy Store to manage
- -f OUTPUT_FILE, --output_file OUTPUT_FILE
Output file
Example
Import semanage modifications from another machine # semanage export -f semanage.mods # scp semanage.mod remotemachine: # ssh remotemachine # semanage import -f semanage.mods
See Also
Author
This man page was written by Daniel Walsh <dwalsh@redhat.com>
Referenced By
semanage(8), semanage-import(8).