Working with SELinux security contexts
As we have learned from the previous recipe in this chapter, SELinux is all about labels and policies. In this recipe, we will show you how to work with these labels, also known as security contexts.
Getting ready
To complete this recipe, you will require a working installation of the CentOS 7 operating system with root privileges. It is assumed that you are working through this chapter recipe by recipe, so by now you should have installed the SELinux tools from the previous recipe and generated all the SELinux man pages for the policies. As you may notice, some of the commands that we will show you in this recipe have already been applied in other recipes in this book. We will explain them here in detail. ...
Get CentOS 7 Linux Server Cookbook - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.