From the course: Complete Guide to Linux Security: Protecting Your Linux Server Environment

Unlock this course with a free trial

Join today to access over 24,300 courses taught by industry experts.

SELinux basics

SELinux basics

- Previously we worked with AppArmor, which is the Linux security module for Debian and Ubuntu. But for fedora based systems, we use SELinux. Security Enhanced Linux or SELinux for short, is a security architecture for Linux systems like Fedora, CentOS, and RedHat that allows administrators to have more control over what and who can access the system. It works directly with the Linux kernel. We're going to be working in Lab 21 and this is SELinux Basics. We're just going to show the very basics of SELinux. We'll show how to analyze SELinux on a CentOS system and manage SELinux with a new SSH configuration and then modify the enabled SELinux mode. So I'm going to be working in CentOS as root. So here's my CentOS server and I will definitely now type things. I'm not SSHing in because I'm going to be making a change to the SSH configuration and I don't want to risk losing my SSH session. So instead I'm working directly at the console here. So I'm working as root at CentOS 9 Stream. First…

Contents