Mention to use 'SELINUX=permissive' in /etc/selinux/config on RHEL/CentOS, 'this way we have at least a log if something happens that shouldn't.'

Thanks Raffael Luthiger (@raffael_luthiger) for the feedback.
This commit is contained in:
Zhang Huangbin 2015-01-18 12:03:23 +08:00
parent fee285f328
commit 44b7d1c39f
1 changed files with 10 additions and 2 deletions

View File

@ -62,13 +62,21 @@ mx.example.com
### Disable SELinux.
iRedMail doesn't work with SELinux, so please disable it by setting below
value in its config file `/etc/selinux/config`.
value in its config file `/etc/selinux/config`. After server reboot, SELinux
will be completely disabled.
```
SELINUX=disabled
```
Now disable it immediately without rebooting your server.
If you prefer to let SELinux prints warnings instead of enforcing, you can
set below value instead:
```
SELINUX=permissive
```
Disable it immediately without rebooting your server.
```
# setenforce 0