Results 1 to 2 of 2
Recently I ordered a dedicated Linux server with Cent OS 5.2 freshly installed. Whilst trying to disable SELINUX I accidentally deleted it, doh!
In SSH/Putty, when I run the command:
...
- 06-28-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 1
Deleted SELINUX by accident....HELP!
Recently I ordered a dedicated Linux server with Cent OS 5.2 freshly installed. Whilst trying to disable SELINUX I accidentally deleted it, doh!
In SSH/Putty, when I run the command:
I get the message:Code:vi /etc/selinux/congig
Code:"/etc/selinux/config/" New Directory
Can this be fixed quickly/easily? Or does Cent OS need to be re-installed?
Is SELINUX (disabled) still needed on the server to install/run cPanel?
Your help much appreciated!
- 06-28-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
You should be able to reinstall most of the components using the yum package manager. Login or su to root and execute the command
If you don't want strict policy enforcement, then do this also:Code:yum reinstall '*selinux*'
Then you can enable selinux from the Administration -> Security Level and Firewall form. There is also the System -> SELinux Troubleshooter GUI application that can help you figure out what's not working right.Code:yum remove selinux-policy-strict
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote