Is there a way to copy the entire SELinux config between machines?

Solution Verified - Updated -

Issue

  • is there a way to copy the entire SELinux config between machines?
  • is there a way to export the modules from one machine to another?
  • if you don't have the .te files, is there a way to figure out what the .te file would look like for a loaded module, for example if you inherit a server that has custom module loaded, but you don't have the .te file?

Environment

  • Red Hat Enterprise Linux (RHEL) 6
  • Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content