selinux:understanding_selinux_configuration
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
selinux:understanding_selinux_configuration [2016/07/11 13:06] – peter | selinux:understanding_selinux_configuration [2019/12/04 20:33] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== SELinux - Understanding SELinux Configuration ====== | ||
- | |||
- | The SELinux configuration file is **/ | ||
- | |||
- | The following are the possible values for the SELINUX variable in the **/ | ||
- | |||
- | * enforcing – The Security Policy is always Enforced | ||
- | * permissive – This just simulates the enforcing policy by only printing warning messages and not really enforcing the SELinux. | ||
- | * disabled – Completely disable SELinux | ||
- | |||
- | The following are the possible values for SELINUXTYPE variable in the / | ||
- | |||
- | * targeted – This policy will protected only specific targeted network daemons (such as DNS, Apache and others). | ||
- | * strict – This is for maximum SELinux protection. | ||
- | |||
- | |||
- | SELinux is also often configured in the Grub boot loader. | ||
- | |||
- | <code bash> | ||
- | egrep -i ' | ||
- | </ | ||
- | |||
- | If you found lines with selinux=0 or enforcing=0, | ||
- | |||
- | Reboot the server: | ||
- | |||
- | <code bash> | ||
- | reboot | ||
- | </ | ||
- | |||
- | |||
- | |||
- | |||
selinux/understanding_selinux_configuration.1468242419.txt.gz · Last modified: 2020/07/15 09:30 (external edit)