From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep
Unlock this course with a free trial
Join today to access over 24,400 courses taught by industry experts.
Create and enforce MAC using SELinux - Linux Tutorial
From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep
Create and enforce MAC using SELinux
- [Instructor] In this lesson, we'll explore how we can enforce mandatory access control with the help of the SELinux security module. Now, Red Hat and Cintas operating systems have SELinux enabled by default, but on Ubuntu, a different security module called AppArmor is used by default. Whenever we end up on a system that was set up by other people, if we need SELinux, we should first check if it's already configured before we attempt to install anything. We'll explore how to check the security module status later in our lesson. But since we know our system doesn't have SELinux, let's see how we can get it started from scratch on Ubuntu. Since AppArmor is enabled by default, first, we'll have to disable that. Using two security modules at the same time might lead to conflicts or unexpected results, so first, we need to stop the AppArmor service. Then we disable AppArmor from automatically starting up when the system boots. Next, to get started with SELinux, we install these two…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Boot, reboot, and shutdown a system safely3m 12s
-
(Locked)
Boot or change system into different operating modes (optional)3m 38s
-
(Locked)
Use scripting to automate system maintenance tasks11m 42s
-
(Locked)
Manage startup process and services11m 32s
-
(Locked)
Create systemd services15m 21s
-
(Locked)
Diagnose and manage processes21m 48s
-
(Locked)
Locate and analyze system log files10m 52s
-
(Locked)
Schedule tasks to run at a set date and time13m 27s
-
(Locked)
Manage software with package manager5m 48s
-
(Locked)
Configure the repositories of package manager9m 37s
-
(Locked)
Install software by compiling source code6m 54s
-
(Locked)
Verify integrity and availability of resources and processes10m 28s
-
(Locked)
Change kernel runtime parameters, both persistent and non-persistent5m 46s
-
(Locked)
List and identify SELinux file and process contexts9m 1s
-
(Locked)
Create and enforce MAC using SELinux27m 42s
-
(Locked)
Create and manage containers22m 51s
-
(Locked)
Manage and configure virtual machines8m 35s
-
(Locked)
Create and boot a virtual machine16m 29s
-
(Locked)
Installing an operating system on a virtual machine4m 5s
-
(Locked)
-
-
-
-