filmov
tv
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.
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.
Комментарии