On Thu, Oct 14, 2010 at 12:10 PM, Mukesh Yadav <[email protected]> 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, -- 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

