Solved

VPS Hosting company is able to restrict users to use Selinux

Posted on 2014-09-11
7
351 Views
Last Modified: 2014-09-11
Dear Experts,
My VPS server is hosted to one VPS hosting company.
Whatever I try to enable selinux on my apache linux CentOS with many linux command operation, it is still not enabled, Why ?After posting related question here, and the answer is not found yet.

And I talked to my hosting company, he replied:

We use OpenVZ virtualization (most popular VPS virtualization system), which doesn't support selinux for security reasons, i am sorry, but we have no option to enable it.

My question is

VPS hosting company has ability to restrict user to enable selinux even I have installed selinux  and done all selinux instruction on my VPS server since it is Virtualization server , they are able to restrict all VPS users to enable selinux, right ? If so, I will give up to enable selinux on my VPS server

Please advise

Rwniceing
0
Comment
Question by:rwniceing
  • 3
  • 3
7 Comments
 
LVL 4

Accepted Solution

by:
exploitedj earned 500 total points
ID: 40318232
Shoot. I just found this, http://wiki.centos.org/HowTos/Virtualization/OpenVZ

"Unfortunately SELINUX is not compatible with nor included in the OpenVZ kernel. To disable SELINUX, edit the /etc/sysconfig/selinux config file with your preferred text editor and set it to disabled:

SELINUX=disabled "

I have to save some other guy some time, with a similar post. BRB.
0
 
LVL 1

Author Comment

by:rwniceing
ID: 40318237
In other words, you agree it my last question in my last post, right ?

If so, I will close this thread
0
 
LVL 4

Expert Comment

by:exploitedj
ID: 40318242
Ha ha, small world. You are the "other guy" I was going to check on.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 1

Author Closing Comment

by:rwniceing
ID: 40318246
Thanks for your reply
0
 
LVL 4

Expert Comment

by:exploitedj
ID: 40318250
And to answer, yes, I agree. They are probably bound by this limitation.
0
 
LVL 12

Expert Comment

by:Kent W
ID: 40318263
That is correct.  OpenVZ does not support SELinux.  If you require SELinux, you will have to go with another virtualization method.
0
 
LVL 1

Author Comment

by:rwniceing
ID: 40318264
mugojava, thanks for your reply after this thread is closed. All agree it now .
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to get maximum transfer speed over LAN 4 83
AWS - HAProxy- KeepAlived 5 43
Install Predefined Certificate on Ubunto 4 39
awk sed 8 42
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question