From the course: Linux: Firewalls and SELinux

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Enabling SELinux and modes

Enabling SELinux and modes - Linux Tutorial

From the course: Linux: Firewalls and SELinux

Start my 1-month free trial

Enabling SELinux and modes

- [Narrator] Let's talk about the SELinux config file, shall we? First, we're going to look at where it is. cd /etc/ and it's in the selinux directory, and if I type ls, you can see there it is config. So let's use nano, cause that's my preferred thing, if you want to us bi or something else that's totally up to you. nano config and that opens up the config file. So we're in here and we're in our text editor as root, so we can make changes if we want to. Be careful, though, okay. Cause that can give you the ability to do things that might hurt you. And you'll notice if you're on a system like mine, we're looking at SELinux running in enforcing mode. That's what's going on right down here. You can see here SELINUX=enforcing and under type it says SELINUXTYPE is targeted. Let's talk about what those things mean. First of all, you'll remember that I didn't change this. This is out of the box. So right out of the box, your system is being enforced in targeted mode with SELinux, so if…

Contents