Difference between revisions of "Fedora install for my own purposes"
From dbawiki
(→Disable SELinux) |
(→Disable SELinux) |
||
| Line 19: | Line 19: | ||
Policy from config file: targeted | Policy from config file: targeted | ||
</pre> | </pre> | ||
| + | Change SELINUX to disabled in /etc/selinux/config | ||
| + | <pre> | ||
sudo vi /etc/selinux/config | sudo vi /etc/selinux/config | ||
| + | # This file controls the state of SELinux on the system. | ||
| + | # SELINUX= can take one of these three values: | ||
| + | # enforcing - SELinux security policy is enforced. | ||
| + | # permissive - SELinux prints warnings instead of enforcing. | ||
| + | # disabled - No SELinux policy is loaded. | ||
| + | SELINUX=enforcing | ||
| + | # SELINUXTYPE= can take one of these two values: | ||
| + | # targeted - Targeted processes are protected, | ||
| + | # mls - Multi Level Security protection. | ||
| + | SELINUXTYPE=targeted | ||
| + | </pre> | ||
<pre> | <pre> | ||
sudo reboot | sudo reboot | ||
Revision as of 19:14, 1 May 2018
At time of writing, Fedora 27 is current stable version
Contents
Download and install Fedora
Configure Fedora
Disable SELinux
Use the /usr/sbin/getenforce or /usr/sbin/sestatus commands to check the status of SELinux
$ /usr/sbin/getenforce Enforcing
or
$ /usr/sbin/sestatus SELinux status: enabled SELinuxfs mount: /selinux Current mode: enforcing Mode from config file: enforcing Policy version: 23 Policy from config file: targeted
Change SELINUX to disabled in /etc/selinux/config
sudo vi /etc/selinux/config # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. SELINUX=enforcing # SELINUXTYPE= can take one of these two values: # targeted - Targeted processes are protected, # mls - Multi Level Security protection. SELINUXTYPE=targeted
sudo reboot