Solved

VPS Hosting company is able to restrict users to use Selinux

Posted on 2014-09-11
7
354 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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux Copy Command - All Files inc Directory 1 56
Setting up static IP - Ubuntu server 16.04 12 94
Linux VM 6 101
Syslog-ng works. Now what? How to filter and manage? 8 59
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

840 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