While it's better to understand how SELinux works, and to work within its limitations, learn how you can also disable SELinux if you need to.
- [Narrator] If you just want SELinux to go away … and leave you alone, you can do that in two ways. … The first way is to turn off enforcement … for the current session with setenforce zero. … This will set SELinux into permissive mode … until the system's restarted. … To turn it off for good, there's a bit more work involved. … You'll need to edit the SELinux configuration file … with vi /etc/sysconfig/selinux. … And set the SELinux line to either permissive … or disabled depending on your preferences. … And then reboot the system. … When the system comes back up, … the status of SELinux will be set to disabled. … I'm going to turn mine back on though, … because SELinux is there for a reason. … And it's better to configure it properly … than to just turn it off at the first hint … of inconvenience. … We'll see more about working with SELinux in later videos. … …
- What is CentOS?
- Installing CentOS
- Configuring networking manually
- Configuring the network with NetworkManager
- Connecting remotely
- Working with security-enhanced Linux (SELinux)
- Setting up a firewall
- Setting up a web server
- Sharing user home folders with Samba
- Setting up a desktop environment
Skill Level Beginner
1. Getting Started
2. Basic Administration
3. Working with Security-Enhanced Linux (SELinux)
4. Working with Common Services and Applications
5. Using a Desktop
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.