I Hate SELinux. You Can Too. (Linux+ Objective 2.5.1)

  Рет қаралды 6,616

Shawn Powers

Shawn Powers

10 ай бұрын

SELinux (Security Enhanced Linux) is a security system used in most RedHat based distributions. There's nothing really wrong with it, but it's confusing, frustrating, and far too complicated, in my humble opinion. Thankfully it comes with some pretty sane defaults.
It's OK if you don't hate it with me, but after this video, you'll be able to form an educated opinion of your own. Plus, it will prepare you for the Linux+ certification if that's something you're interested in getting!
The CompTIA Linux+ objectives are available here: snar.co/plusobjectives
WAYS TO SUPPORT SHAWN
---------------------------------------------
Patreon: / shawnp0wers
Merch: store.nerdlings.net
SuperStickers, etc!
WAYS TO SUPPORT EACH OTHER
-------------------------------------------------------
1) Be Kind
2) Answer comments/questions here
3) Ask/Answer questions on our Discord: snar.co/discord
WAYS TO FIND SHAWN OTHER PLACES
----------------------------------------------------------------
Landing Page: shawnp0wers.com
#linux #comptia #security

Пікірлер: 31
@charleschouteau2711
@charleschouteau2711 9 ай бұрын
Thank you Shawn, this is probably the clearest video about SELinux on youtube ! I remember discovering you like 10 years ago on the CBT nuggets videos for LPIC certification. Your enthusiasm, amazing teacher skills and your passion about Linux helped me a lot through the learning process, thank you for that and for the amazing content.
@shawnp0wers
@shawnp0wers 9 ай бұрын
Thank you! It can be such a confusing beast, I'm glad my explanation makes sense! Also glad you found me here! :)
@Starcloud1986
@Starcloud1986 4 ай бұрын
I completely agree with you! Thanks Shawn Powers!
@officialcaseyhalyn
@officialcaseyhalyn Ай бұрын
I love SELinux. Sure the config is a pain, but I learned how to read the log file, set Booleans, configure contexts, etc. with a little bit of learning and effort, you too can be an SELinux pro! It’s a great addition to your server security and has prevented my web server from getting compromised.
@cmtopchem
@cmtopchem 9 ай бұрын
I tried in vain to understand SElinux in CompTIA Linux+, but you describe it so simply that it is really fun. A well spent half hour.
@shawnp0wers
@shawnp0wers 9 ай бұрын
Thank you!
@dreeastwood2500
@dreeastwood2500 9 ай бұрын
I want to thank you Shawn for your great content. I passed my exam today with your help. I found your videos a week ago and it was what I needed to not only reinforced what I had learned so far but actually allowed to me understand topics which other videos or course did not go into. Keep up the great work and I hope others find your content as informative as I did.
@shawnp0wers
@shawnp0wers 9 ай бұрын
First off -- CONGRATS! And thank you, that means a ton to me! :)
@evanslawrence88
@evanslawrence88 15 күн бұрын
Thank you Shawn. SELinux is definitely one of the most confusing topic on the Linux+ exam, but you have made it much more understandable.
@samu5167
@samu5167 9 ай бұрын
Thank you for the video. Feels like Internet has way too little information about SELinux.
@shawnp0wers
@shawnp0wers 9 ай бұрын
It can be such a tough topic. And while this certainly doesn't cover every detail of it, my hope was to make what it does understandable, and dealing with it possible. (Instead of just turning it off, which I'll admit I've done a LOT of times myself!)
@SlinkyD
@SlinkyD 9 ай бұрын
This need to be the first intro to SELinux for everyone. I learned the hard way when it was rolled out. I hate it because it took me farther down the Linuxhole than I wanted to go.
@Agnubis
@Agnubis 10 ай бұрын
My first job as a sysadmin had me work on CentOS machines and I just hated SELinux. I have yet to meet anybody who likes it. Like you said though, it came from a good idea but the implementation and its user-friendliness are debatable.
@brentsaner
@brentsaner 6 ай бұрын
I like it. I deploy it in prod. It's proven to stop vulns that otherwise would have succeeded and given attackers access. There's a learning curve, but part of that is because of how flexible it is compared to something like AppArmor - just like any proper security engineering.
@szmonszmon
@szmonszmon 4 күн бұрын
You probably work with a people with skill issue. It happens...
@walter_lesaulnier
@walter_lesaulnier 6 ай бұрын
The selinux log is hundreds of lines of the most incomprehensible log file I have ever seen. Great video- thanks. Helped my understanding a lot.
@shawnp0wers
@shawnp0wers 6 ай бұрын
Glad it helped!
@DigitalMetal
@DigitalMetal 10 ай бұрын
I also hate SELinux. I have very little experience with it but the experience i do have has always just been a headache. It doesn't seem to fix a problem and just makes things more complicated. If i don't want the web server accessing files, that's what file permissions or for. If I don't want people having web directories in their home directories, that's a setting in Apache. Adding a second step just confuses things and is more likely to break something.
@kjakobsen
@kjakobsen 10 ай бұрын
I think its a pity, that people have such a hate, for a technology this important. Even the teachers i had for Linux, teached us to turn it off completely. I don't like when we teach bad practices.
@shawnp0wers
@shawnp0wers 10 ай бұрын
I understand the concern over teaching bad practices - the thing about SELinux is that the added security it offers, particularly is the bulk of situations, pales in comparison to its complexity and the frustration it causes. A security practice is only as good as it’s usability, in a practical sense. Don’t get me wrong, I really do understand your frustration, and agree in spirit. But “the juice isn’t worth the squeeze” in my experience. I wish that weren’t the case.
@Agnubis
@Agnubis 10 ай бұрын
I tend to agree with Shawn with the caveat that if you work on systems that should be made highly secure in huge companies (yes, it's anyway always a good idea to harden your machines) you're going to want to use all the tools that you have at your disposal. If that means getting your hands dirty with SELinux and getting experienced with it, it'll probably be worth it in the long run as long as your team has a proper documentation that comes with how it's used on servers. However, just because something is important, like SELinux is, does not mean we can't dispute how it was implemented and its apparent complexity. I know that not everything can be made simple but especially when it comes to security which is so important nowadays, it's a good idea to, when possible, consider this when creating features (keeping in mind when SELinux was created, of course).
@szmonszmon
@szmonszmon 4 күн бұрын
"I Hate SELinux because it does what it was made to do" - corrected xD
@TirajAdikari
@TirajAdikari 5 ай бұрын
Thank you Shawn .. you managed to make me hate SELinux too :D
@4thatfilm
@4thatfilm 7 ай бұрын
semanage @27:28 vs. setsebool
@JayAdams-km5fq
@JayAdams-km5fq 9 ай бұрын
Thanks!
@stanleyogadachinedu2736
@stanleyogadachinedu2736 2 ай бұрын
Thank you
@stanleyogadachinedu2736
@stanleyogadachinedu2736 Ай бұрын
I hate AppArmor lol
@sveu3pm
@sveu3pm 8 ай бұрын
great video.only why do you verlbalize commands so much. its much easier to do 0 1 2 then permissive enforcing and whatever is 3 shit. same with on off. off is 3 letters, 0 is only one. and you have to memorise off because it can theoreticaly also be disabled, or disable or remove
@sirmongoose
@sirmongoose 7 ай бұрын
I hate se linux. Learned about it for months, kept getting permission context errors. Couldn't get anything to work so I just disabled it entirely
@12six69
@12six69 Ай бұрын
lmao
AppArmor Sucks Less! (Linux+ Objective 2.5.2)
20:39
Shawn Powers
Рет қаралды 3,2 М.
Why Linux Puts Files ALL OVER?!? (Linux+ Objective 1.1.1)
22:48
Shawn Powers
Рет қаралды 23 М.
🍟Best French Fries Homemade #cooking #shorts
00:42
BANKII
Рет қаралды 58 МЛН
Эффект Карбонаро и бесконечное пиво
01:00
История одного вокалиста
Рет қаралды 6 МЛН
Stupid Barry Find Mellstroy in Escape From Prison Challenge
00:29
Garri Creative
Рет қаралды 4,9 МЛН
Каха инструкция по шашлыку
01:00
К-Media
Рет қаралды 8 МЛН
About SELinux
21:56
EF - Linux Made Simple
Рет қаралды 27 М.
Are you listening to what SELinux is telling you?
1:03:14
Red Hat Summit
Рет қаралды 13 М.
Security-Enhanced Linux for mere mortals
43:58
Red Hat Summit
Рет қаралды 122 М.
Files, Links, & Stats (Linux+ Objective 1.2.1)
23:01
Shawn Powers
Рет қаралды 8 М.
The Biggest Linux Security Mistakes
9:44
Chris Titus Tech
Рет қаралды 149 М.
Stow is the best way to manage your dot files
14:33
typecraft
Рет қаралды 9 М.
The IT crowd - Truest moment about tech support
2:21
johnnyricoMC
Рет қаралды 5 МЛН
How to protect Linux from Hackers // My server security strategy!
30:39
Christian Lempa
Рет қаралды 212 М.
005. Как устроен SELinux в Android - Виктор Лапин
45:16
Yandex for Developers
Рет қаралды 7 М.
#miniphone
0:16
Miniphone
Рет қаралды 2,9 МЛН
Carregando telefone com carregador cortado
1:01
Andcarli
Рет қаралды 2,7 МЛН
APPLE совершила РЕВОЛЮЦИЮ!
0:39
ÉЖИ АКСЁНОВ
Рет қаралды 452 М.
wireless switch without wires part 6
0:49
DailyTech
Рет қаралды 3,4 МЛН
WWDC 2024 - June 10 | Apple
1:43:37
Apple
Рет қаралды 10 МЛН