Asked by rwniceing
at 2024-09-11 14:11:55
Point:500 Replies:7 POST_ID:829233USER_ID:12079
Topic:
Linux;PHP Scripting Language;Apache Web Server
I try to enable Selinux from this site,http://wiki.eri.ucsb.edu/sysadm/SELinux , but it didn't work, On linux shell, I tried this command as follows
root@vps# getenforce
Disabled
root@vps#setenforece 1
setenforce: SELinux is disabled
root@vps# getenforce
Disabled
change the file at /etc/sysconfig/selinux from changing SELINUX=enforcing to SELINUX=disabled
reboot, but it didn't work.
On the link instruction, why turn on Selinux need to SELINUX=disabled ?
And how I know selinux is enabled or not ?
Please advise
root@vps# getenforce
Disabled
root@vps#setenforece 1
setenforce: SELinux is disabled
root@vps# getenforce
Disabled
change the file at /etc/sysconfig/selinux from changing SELINUX=enforcing to SELINUX=disabled
reboot, but it didn't work.
On the link instruction, why turn on Selinux need to SELINUX=disabled ?
And how I know selinux is enabled or not ?
Please advise