Setting SELinux mode
Note: Cloudera Enterprise, with the
exception of Cloudera Navigator Encrypt, is supported on platforms with Security-Enhanced Linux (SELinux) enabled and in enforcing mode. Cloudera is not responsible for
policy support or policy enforcement. If you experience issues with SELinux, contact your OS provider.
Security-Enhanced Linux (SELinux) allows you to set access control through policies. If you are having trouble deploying CDH with your policies, set SELinux in permissive mode on each host before you deploy CDH on your cluster.
To set the SELinux mode, perform the following steps on each host.
- Check the SELinux state:
getenforce
- If the output is either Permissive or Disabled, you can skip this task and go to Disabling the Firewall. If the output is enforcing, continue to the next step.
- Open the /etc/selinux/config file (in some systems, the /etc/sysconfig/selinux file).
- Change the line SELINUX=enforcing to SELINUX=permissive.
- Save and close the file.
- Restart your system or run the following command to disable SELinux immediately:
setenforce 0
Page generated May 18, 2018.
<< Configuring Network Names | ©2016 Cloudera, Inc. All rights reserved | Disabling the Firewall >> |
Terms and Conditions Privacy Policy |