Skip to main content
SELinux

SELinux

SoftwareWikipedia

Search complete. 50 mentions across 18 episodes found for "SELinux".

Oct 23, 2026

Chris TitusHOST
11:37
I'm going to show you how I use this stuff, and then we're going to go from that.
Chris TitusHOST
11:41
But before we start, there's one thing I absolutely have to do is we need to disable SELinux in this install.
Chris TitusHOST
11:49
Quickest way to do this is just to add SELinux equals 0 in the etcselinux-comp file.
Chris TitusHOST
11:57
You can also set it here to go ahead and make sure this persists across kernel updates and then also add it to that file.
Chris TitusHOST
12:06
So said essentially just finds SELinux, marks it as disabled or 0.
Chris TitusHOST
12:11
So what we can do here is we can just grab these two things, copy paste and.
Chris TitusHOST
12:18
Should be pretty much done.
Chris TitusHOST
12:20
Now I'm just going to do a cat of SELinux just to make sure it persists.
Chris TitusHOST
0:00
This video aims to answer most people's questions about SELinux and should they disable it or how it works or if it's interfering with a program that you've installed.
Chris TitusHOST
0:11
So let's start out.
Chris TitusHOST
0:12
There's basically three basic options for SELinux.
Chris TitusHOST
0:16
There's enforcing, permissive, and disabled.
Chris TitusHOST
0:20
And by default, Fedora, CentOS, and Red Hat all come with it enforcing.
Chris TitusHOST
0:27
This is actually a good thing as most programs are compatible with SELinux.
Chris TitusHOST
0:33
However, if you're downloading a program and running to some issues, there's a possibility it could be SELinux interfering with it.
Chris TitusHOST
0:40
So I'm going to break down the commands and show you my terminal and how you'd go about troubleshooting that, modifying it, and also moving forward or even changing it to disabled or permissive should you want to monitor what that program is doing or if it's from an unknown source.
Chris TitusHOST
8:26
But to a new user, this is going to be annoying.
Chris TitusHOST
8:29
SELinux requires profiles and sandboxing to make sure apps can access parts of the system.
Chris TitusHOST
8:35
And you're going to be like, oh, crap, I'm running sudo, but it's not allowing this app through.
Chris TitusHOST
8:39
What's going on? Well, that's probably SELinux in enforcing mode.
Chris TitusHOST
8:43
I don't care too much about SELinux.
Chris TitusHOST
8:45
So, you know, I'm not going to say this out loud.
Chris TitusHOST
8:48
Well, I'll just go ahead and say it.
Chris TitusHOST
8:50
I just put it either in permissive or disabled because I don't really care too much about SELinux.
Chris TitusHOST
0:00
In this video I go over how to set up and configure AppArmor so you can create profiles for any custom scripts or programs you may be using.
Chris TitusHOST
0:23
AppArmor is a Debian-based alternative to SELinux.
Chris TitusHOST
0:28
SELinux is prevalent in Red Hat, CentOS, and Fedora systems.
Chris TitusHOST
0:33
So AppArmor basically allows you the ability to restrict access to certain applications, scripts, or programs to only do certain things or only allowed parts of the system access to that program.
Chris TitusHOST
0:49
So this is a really great thing.
Chris TitusHOST
1:53
Now, if it is stopped, make sure you enable it by instead of status, you'd put enable and hit start to go ahead and start this service if it is disabled on your system.
Chris TitusHOST
2:05
Likewise, if you wanted to completely disable app armor here, you can actually type system control disable.
Chris TitusHOST
2:12
So there's the basics of the actual service that does deviate a little bit from SELinux.
Chris TitusHOST
2:36
And it is great and it's enabled by default, but sometimes you can install some packages and they don't work quite right or they crash or whatnot.
Chris TitusHOST
2:46
Usually that means the developer didn't take the time to make it, SELinux compatible per se.
Chris TitusHOST
2:55
So a lot of times you have to go in and set all those settings by yourself.
Chris TitusHOST
3:00
You'd set SELinux to permissive and then check your logs and then set that program properly.
Chris TitusHOST
3:07
But I don't wanna get too far into that.
Chris TitusHOST
3:08
I'm gonna make a separate video over Security Enhanced Linux.

Unknown podcast

Two CVSS 9.0 Linux KSMBD Remote Code Execution Flaws: SMB Server Risks and Kernel Patching

Oct 23 · 1 Mention

speaker_0HOST
18:08
General hardening principles always apply here.
speaker_0HOST
18:11
Defense in depth, the principle of least privilege, and implementing mandatory access controls like SELinux or AppArmor.
speaker_1HOST
18:18
Crucial tools.
speaker_0HOST
18:19
They ensure that even if a process is compromised via a zero day, its blast radius is contained by strict policies defining what files or network ports it can even access.

Unknown podcast

23. Governance, Deployment and Observability (Tiers of Enforceability)

Oct 22 · 1 Mention

speaker_0HOST
15:14
Okay, let's get into the wheeze.
speaker_1HOST
15:16
Let's look at macOS, for example, which uses the sandbox exact utility and specific sandbox profiles, or Linux, which uses cgroups, namespaces, and app armor or SELinux policies.
speaker_0HOST
15:28
Pretty hardcore isolation tools.
speaker_1HOST
15:30
Very hardcore.
Chris TitusHOST
10:59
I don't consider this a secure desktop.
Chris TitusHOST
11:01
I take Fedora and I bastardize it in the way that I am disabling SELinux and putting it either in permissive mode or just disabling it altogether because I don't want to be making profiles for my programs to sandbox them.
Chris TitusHOST
11:15
I want it to run wild.
Chris TitusHOST
11:16
because a lot of times I am using an agent to go ahead and build out like I'm redoing the launcher here, which we'll go ahead and install this here in a second.

Unknown podcast

Is Big Tech WATCHING YOU? The Scary Reality of AI

Oct 17 · 1 Mention

speaker_4HOST
39:26
It implements a hardened memory allocator, which prevents a vast majority of memory corruption vulnerabilities.
speaker_4HOST
39:32
It enforces strict SELinux policies to sandbox applications.
speaker_3HOST
39:36
And crucially, it completely strips out Google Play services.
speaker_3HOST
39:39
But if a user needs Google functionality, Graphene OS allows them to install sandboxed Google Play.

Unknown podcast

Hardening Linux Kernel Security with sysctl Tuning for Production Servers

Oct 16 · 3 Mentions

speaker_1HOST
19:07
Getting a good low score down in the 1 or 2 range requires manual, iterative tuning.
speaker_0HOST
19:13
You apply a restriction, restart the app, check the logs, see if it crashed, and adjust, which brings us to the final and most notorious layer of containment, mandatory access control, or MAC, systems like SELinux or AppArmor.
speaker_1HOST
19:27
SELinux is the bane of many junior sysadmins.
speaker_0HOST
19:30
It really is.
speaker_0HOST
19:31
The running joke of the industry is that the first step of troubleshooting any application error is to Google how to disable SELinux.
speaker_0HOST
19:38
You get a permission denied error, you throw your hands up, edit the config, set it to disabled, reboot, and the problem vanishes.
speaker_1HOST
19:45
If we connect this to the bigger picture, when you do that, you are stripping away one of the most powerful containment architectures ever designed.

8 more episodes mention SELinux.

Create an account to see the whole feed, search across every transcript, and follow the entities you care about.

We value your privacy

We use cookies to understand how you use our platform and to improve your experience. Click “Accept All” to consent, or “Decline non-essential” to opt out of non-essential cookies. Read our Privacy Policy.