What is SELinux? | SELinux Commands
Chris Titus Tech
This video answers the questions what is SELinux and explains the various SELinux commands you should know. It breaks down the 3 modes of SELinux.
- Enforcing
- Permissive
- Disabled I also go into why people change SELinux modes and which distribution have SELinux Enforcing by default. SELinux basically breaks down all processes into labels and assigns them independent privileges based on the SELinux label.
Commands: Check SELinux status
sestatus OR # getenforce
Temporarily enforce SELinux
setenforce 1
Permanently change SELinux
nano /etc/selinux/config
---CHANGE--- SELinux=disabled
Check if it is blocking anything
ausearch -m AVC,USER_AVC -ts recent
Keeping SELinux enforcing or permissive Many companies do not take the time to make their application SELinux compatible and if you leave it enabled you will probably need to do ome additional troubleshooting with the "setroubleshoot" command. Also, I highly recommend reading the System Administrator Guide to SELinux from opensource.com if you want to use it. https://opensource.com/article/18/7/sysadmin-guide-selinux
💻 Recommendations 💻
- My Windows Anti-Virus ➜ https://links.christitus.com/webroot
- My VPN Service ➜ https://links.christitus.com/expressvpn
- Website Recommendations ➜ https://www.christitus.com/recommendations
🕹 Live Streams Monday & Friday 🕹
- Twitch ➜ https://www.twitch.tv/christitustech
- YouTube Archive ➜ https://www.youtube.com/c/ChrisTitusTechStreams
🖥 Contact me 🖥
- Patreon ➜ https://www.patreon.com/christitustech
- Official Site ➜ https://www.christitus.com
- Twitter ➜ https://twitter.com/christitustech
🚑 Need Help!? Ask our community! 🚑
- Discord ➜ https://www.christitus.com/discord
- Reddit ➜ https://www.reddit.com/r/ChrisTitusTech/
💰 My Amazon Store (YouTube Gear, PC Hardware, and Books I recommend) 💰
DISCLAIMER: This video and description contain affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This helps supports the channel and allows us to continue to make videos like this. Thank you for your support! ... https://www.youtube.com/watch?v=KkTDdHDAaYI
53449626 Bytes