Bookmark this page

Summary

In this chapter, you learned:

  • The getenforce and setenforce commands are used to manage the SELinux mode of a system.

  • The semanage command is used to manage SELinux policy rules. The restorecon command applies the context defined by the policy.

  • Booleans are switches that change the behavior of the SELinux policy. They can be enabled or disabled and are used to tune the policy.

  • The sealert displays useful information to help with SELinux troubleshooting.

Revision: rh199-8.2-3beeb12