What is SELinux? | SELinux Commands

Описание к видео What is SELinux? | SELinux Commands

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.
1. Enforcing
2. Permissive
3. 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/s... .

►► Digital Downloads ➜ https://www.cttstore.com
►► Reddit ➜   / christitustech  
►► Titus Tech Talk ➜    / titustechtalk  
►► Twitch ➜   / christitustech  

Комментарии

Информация по комментариям в разработке