Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   semanage-export    ( 8 )

инструмент импорта SELinux Policy Management (SELinux Policy Management import tool)

Имя (Name)

semanage-export - SELinux Policy Management import tool

Синопсис (Synopsis)

semanage export [-h] [-S STORE] [-f OUTPUT_FILE]

Описание (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.
       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


Примеры (Examples)

Import semanage modifications from another machine
       # semanage export -f semanage.mods
       # scp semanage.mod remotemachine:
       # ssh remotemachine
       # semanage import -f semanage.mods

Смотри также (See also)

selinux(8), semanage(8), semanage-import(8)