Hi, I installed Centos 5.5 and by deafult SElinux was disabled. I did changes in /etc/selinux/config and now it looks like this.
SELINUX=enforcing SELINUXTYPE=targeted SETLOCALDEFS=0
and rebooted the system. But even after the reboot when I do check the sestatus it shows disable. where I'm doing a mistake do I need to change any thing else?
On Thu, Oct 14, 2010 at 12:10 PM, Mukesh Yadav mak.gnu@gmail.com wrote:
Hi, I installed Centos 5.5 and by deafult SElinux was disabled. I did changes in /etc/selinux/config and now it looks like this.
SELINUX=enforcing SELINUXTYPE=targeted SETLOCALDEFS=0
and rebooted the system. But even after the reboot when I do check the sestatus it shows disable. where I'm doing a mistake do I need to change any thing else?
Have you gone through and followed http://www.centos.org/docs/5/html/5.2/Deployment_Guide/sec-sel-enable-disabl...
On Thu, Oct 14, 2010 at 12:10 PM, Mukesh Yadav mak.gnu@gmail.com wrote:
Hi, I installed Centos 5.5 and by deafult SElinux was disabled. I did changes in /etc/selinux/config and now it looks like this.
SELINUX=enforcing SELINUXTYPE=targeted SETLOCALDEFS=0
and rebooted the system. But even after the reboot when I do check the sestatus it shows disable. where I'm doing a mistake do I need to change any thing else?
The 'sestatus' command will show you the status of SE Linux whether it is in disabled, enforcing or permissive mode.
On Centos 5 by default, SE Linux is in permissive mode.
Use the 'lokkit' command to change the SELinux status from 'permissive' to 'enforcing'.
Your machine *might* require a reboot for your new SELinux setting to take place.
Regards,
Use the 'lokkit' command to change the SELinux status
from 'permissive' to 'enforcing'.
Your machine *might* require a reboot for your new SELinux setting to take place.
ok, I have server from rackspace and I contacted them they said they will change the status and I have submit a ticket, I dont understand why they said. when I got the server by default it was disabled.
Regards,
Vivek Varghese Cherian Senior Systems Administrator RHCT ( # 605010995430406)
Website : http://www.vivekcherian.com Blog: http://www.vivekcherian.net Linkedin: http://www.linkedin.com/in/vivekvc IRC: Vivek and ViveKVC on both Freenode and OFTC GPG Key fingerprint = 1EB1 0647 9574 18A3 40B5 8D74 F842 576B 3C2B 8538 -- http://mm.glug-bom.org/mailman/listinfo/linuxers