The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SELinux

Discussion in 'Data Protection' started by 0101, May 17, 2010.

  1. 0101

    0101 Active Member

    Joined:
    Apr 2, 2010
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Hello
    I have a question for SELinux Is there any conflict with cpanel
    Because I want to activate the server SELinux centos
    I liked to ask you before I activate Is there a conflict or cause problems
    Is there a topic in a forum for explaining
    Thank you
     
  2. rone

    rone Well-Known Member

    Joined:
    Jan 14, 2007
    Messages:
    179
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    The Netherlands
    cPanel Access Level:
    Root Administrator
    Quick Start Installation Guide

    Disable SELinux Security Features

    For a fully successful installation you should disable SELinux. When installing a Red Hat or CentOS distribution, you will be able to use the graphical interface to disable SELinux when configuring the operating system.

    This can also be accomplished by editing /etc/selinux/config from the command line, and setting the SELINUX parameter to disabled with a text editor such as nano or vi. The file should resemble the following text:

    # 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=disabled
    # SELINUXTYPE= can take one of these two values:
    # targeted - Only targeted network daemons are protected.
    # strict - Full SELinux protection.
    SELINUXTYPE=targeted

    Important: SELinux must remain disabled in order for WHM and cPanel to run on your web server. Ensure that the pound sign (#) does not precede SELINUX=disabled. If # precedes this configuration option, the line will be ignored.

    Warning: Do not transfer the SELinux configuration file between computers as it may destroy the file’s integrity.
     

Share This Page