semanage-import(8) — Linux manual page


semanage-import(8)                                        semanage-import(8)

NAME         top

       semanage-import - SELinux Policy Management import tool

SYNOPSIS         top

       semanage import [-h] [-N] [-S STORE] [-f INPUT_FILE]

DESCRIPTION         top

       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. You
       can put a whole group of semanage commands within a file and apply
       them to a machine in a single transaction.

OPTIONS         top

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

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

       -S STORE, --store STORE
              Select an alternate SELinux Policy Store to manage

       -f INPUT_FILE, --input_file INPUT_FILE
              Input file

EXAMPLE         top

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

SEE ALSO         top

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

AUTHOR         top

       This man page was written by Daniel Walsh <>

COLOPHON         top

       This page is part of the selinux (Security-Enhanced Linux user-space
       libraries and tools) project.  Information about the project can be
       found at ⟨⟩.  If you
       have a bug report for this manual page, see
       ⟨⟩.  This
       page was obtained from the project's upstream Git repository
       ⟨⟩ on 2020-09-18.  (At that
       time, the date of the most recent commit that was found in the repos‐
       itory was 2020-09-17.)  If you discover any rendering problems in
       this HTML version of the page, or you believe there is a better or
       more up-to-date source for the page, or you have corrections or
       improvements to the information in this COLOPHON (which is not part
       of the original manual page), send a mail to

                                  20130617                semanage-import(8)

Pages that refer to this page: semanage(8)semanage-export(8)