O'Reilly logo

Learning RHEL Networking by Andrew Mallett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with the targeted policy type

The default policy type is targeted. As such, most SELinux deployments will work with this policy type. In the case of the targeted policy type, the primary attribute from the label used for enforcement is type. For this reason, the targeted policy type is often known as TE or type enforcement. The following image highlights the importance of the type attribute of a label in the targeted policy type:

Working with the targeted policy type

Using the seinfo command, which is part of the setools-console package, we can display specific information about the current SELinux environment. Let's take a look at the available types that we can work with. To ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required