Setting SELinux Mode
Security-Enhanced Linux (SELinux) allows you to set access control through policies. If you are having trouble deploying Runtime or CDH with your policies, set SELinux in permissive mode on each host before you deploy Runtime or CDH on your cluster.
Check the SELinux state:
- If the output is either
Disabled, you can skip this task and continue on to disabling the firewal. If the output is
enforcing, continue to the next step.
- Open the
/etc/selinux/configfile (in some systems, the
- Change the line
- Save and close the file.
- Restart your system or run the following command to disable SELinux
setenforce 0After you have installed and deployed Runtime or CDH, you can re-enable SELinux by changing
/etc/sysconfig/selinux), and then running the following command to immediately switch to
If you are having trouble getting Cloudera Software working with SELinux, contact your OS vendor for support. Cloudera is not responsible for developing or supporting SELinux policies.