12.4K subscribers
SELinux1 day ago
Watch on YouTube๐ Master your Security+ skills with Pluralsight here: Pluralsight
Youโll learn what SELinux (Security-Enhanced Linux) is and how it uses mandatory access control, security labels, and policies to enforce least privilege. See how to use AVC audit logs to troubleshoot Linux โpermission deniedโ errors without disabling SELinux.
Chapters:
0:00 Intro
0:14 What is SELinux, and why does Linux need it?
1:04 How does SELinux decide what to allow?
1:49 Whatโs the difference between enforcing, permissive, and disabled?
How do you troubleshoot an SELinux denial?
Outro
Affiliate notice: Some links may earn a commission. Thanks for your support.
Some links may earn a commission. Thanks for your support.
Pinned by @jaymayor
@jaymayor๐ Master your Security+ skills with Pluralsight here: https://www.jaymayor.com/go/security-plus
Want the full guide?
Read the full lesson for the written walkthrough, examples, and related resources.
Course playlist
Watch the whole course
Open the course playlist and keep watching in order.
root.getenforce. Enforcing blocks policy violations; permissive can log them without blocking; disabled neither checks policy nor logs would-be denials.Permission denied before changing policy. Check ordinary permissions first, then inspect labels and look for a matching AVC denial. A missing AVC entry doesnโt rule out SELinux. See Red Hatโs troubleshooting guide.semanage fcontext to record the expected label and restorecon to apply it. Donโt generate an audit2allow rule just because an operation was denied.Recommended resource

Pluralsight
Cybersecurity training platform
Build skills through practice
Affiliate link โ I may earn a commission at no additional cost to you.
Jay's Recommendation
You've built the foundations. Pluralsight adds opportunities to practice in guided security labs, get feedback, and check your knowledge with assessments and practice exams, so your next step is more than another video.