How best get rid of SELinux?
Beartooth
Beartooth at swva.net
Thu Sep 20 16:14:05 UTC 2007
On Thu, 20 Sep 2007 12:04:02 -0400, Matthew Miller wrote:
> On Thu, Sep 20, 2007 at 03:47:48PM +0000, Beartooth wrote:
>> I keep it set to -- supposedly -- NON-enforcing, because of the
>> warning in the installer against eliminating it; but it keeps making
>> all kinds of trouble, anyway. Can I just command "yum remove selinux"?
>
> No, you can't. You can remove some of the support daemons, but you can't
> remove the libraries because everything is linked against it.
>
> You can put "selinux=0" on the kernel command line in grub.conf, though.
> That'll make it be disabled completely.
Hmmm... I *think* I see what "kernel command line" means ...
On one machine, I have this :
[root at localhost ~]# cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this
#file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.22.5-76.fc7)
root (hd0,0)
kernel /vmlinuz-2.6.22.5-76.fc7 ro root=/dev/VolGroup00/LogVol00
rhgb quiet
initrd /initrd-2.6.22.5-76.fc7.img
title Fedora (2.6.22.4-65.fc7)
root (hd0,0)
kernel /vmlinuz-2.6.22.4-65.fc7 ro root=/dev/VolGroup00/LogVol00
rhgb quiet
initrd /initrd-2.6.22.4-65.fc7.img
[root at localhost ~]#
So, iiuc, you're saying to leave a space after 'quiet' both
times, and then add "selinux=0" after that space? Right?
--
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.
More information about the users
mailing list