[CentOS] Regd: SeLinux Configuration
balajisundar at midascomm.com
Mon Nov 3 08:05:56 UTC 2008
I have tried with your previous suggestion of adding "selinux=1
enforcing=1" to the kernel line in my grub.conf
file and my grub configuration details are below
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/hda1
# initrd /boot/initrd-version.img
title CentOS-4 i386 (2.6.9-42.EL)
kernel /boot/vmlinuz-2.6.9-42.EL ro root=LABEL=/ rhgb quiet
and I have executed the "cat /proc/cmdline" and its output is
"auto BOOT_IMAGE=linux ro BOOT_FILE=/boot/vmlinuz-2.6.9-42.EL rhgb quiet
I don't know i have added correctly "selinux=1 enforcing=1" to the
kernel line in my grub.conf file.
If i am wrong please guide me where can i add the "selinux=1
enforcing=1" to the kernel line in my grub.conf file
> Did you try my previous suggestion of adding "selinux=1 enforcing=1"
> to the kernel line in your grub.conf? While you're at it .. make sure
> that you're editing /boot/grub/grub.conf .. most people use
> /etc/grub.conf .. which is a symlink to /boot/grub/grub.conf .. if the
> symlink is broken and /etc/grub.conf is an independent file, you can
> edit it all day and not affect grub. Same goes for
> /etc/selinux/config which is the real file, and /etc/sysconfig/selinux
> which is what most people edit.
> CentOS mailing list
> CentOS at centos.org
More information about the CentOS