logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

semanage-import - SELinux Policy Management import tool

Author

       This man page was written by Daniel Walsh <dwalsh@redhat.com>

                                                    20130617                                  semanage-import(8)

Description

       semanage  is  used  to  configure certain elements of SELinux policy without requiring modification to or
       recompilation from policy sources.  semanageimport 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 semanageexport  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.

Example

       Import semanage modifications from another machine
       # semanage import -f semanage.mods

Name

semanage-import-SELinuxPolicyManagementimporttool

Options

-h,--help
              show this help message and exit

       -N,--noreload
              Do not reload policy after commit

       -SSTORE,--storeSTORE
              Select an alternate SELinux Policy Store to manage

       -fINPUT_FILE,--input_fileINPUT_FILE
              Input file

See Also

selinux(8),semanage(8),semanage-export(8)

Synopsis

semanageimport[-h][-N][-SSTORE][-fINPUT_FILE]

See Also