How to turn on selinux?
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and Plesk
  1. Ray Tracy
  2. Sunday, 16 October 2016
  3.  Subscribe via email
selinux security
Rate this post:
  1. 16.10.2016 03:10:47
  2. # 1
Ray Tracy Accepted Answer
Posts: 1
Joined: 16.10.2016

We are running Plesk 12.5.30 Update #48+Cloudlinux 7.2. We have a big banker customer ask us to turn on selinux feature to meet their security policy.

I have reviewed my system with sestatus:
SELinux status:                 disabled

but my /etc/selinux/config looks like configured it as on:
# 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.
# SELINUXTYPE= can take one of three two values:
#     targeted - Targeted processes are protected,
#     minimum - Modification of targeted policy. Only selected processes are protected.
#     mls - Multi Level Security protection.

How can I enable selinux feature with Cloudlinux?
  1. 14.05.2018 06:05:24
  2. # 2
shashank Accepted Answer
Posts: 0
Joined: 27.01.2021

You have reboot your machine. Once you made the change, reboot is required.
  1. 14.05.2018 11:05:42
  2. # 3
Posts: 217
Joined: 31.01.2017
CloudLinux OS is not compatible with SELinux, so it will not be enabled anyway
  1. 27.12.2019 04:12:11
  2. # 4
Kailasha Sharma Accepted Answer
Posts: 0
Joined: 27.01.2021
To enable SELinux you need to follow the below instructions:

1. Open the file configured in /etc/selinux/config
2. Change option SELINUX to enforcing
3. Reboot
  1. 27.12.2019 10:12:48
  2. # 5
Sergey Khristich Accepted Answer
Posts: 504
Joined: 20.05.2019
Hello Kailasha,
Yes, you are right, you can enable SELinux in this way, but at the same time, the functionality of CloudLinux functions is impairing. And we turn it off and do not recommend turning it on, because this can affect the stable operation of the server.
Thank you.
Marketing Manager
  • Page :
  • 1

There are no replies made for this post yet.
Be one of the first to reply to this post!
Kailasha Sharma
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.

EU e-Privacy Directive

We use cookies to ensure you get the best experience using our website and services. Read more about it in our Privacy Policy. Please agree to the use of cookies to proceed. Alternatively, you may disable cookies in your browser at any time.

You have declined cookies. This decision can be reversed.

You have allowed cookies to be placed on your computer. This decision can be reversed.