Centos 6 wont boot because of syntax error in selinux/config need to edit selinux/config
I have a unique issue. I have placed a ";" to comment out a line instead of "#".
I restarted my centos 6 and it says:
Syntax error in /sysroot/etc/selinux/config : 6 : syntax error ";" unexpected
failed to boot sleeping forever.
I placed the live CD in my system booted from there was able to view the file in readonly but can not change it because its mounted form the live cD permissions wont allow me to edit.
I attempted to edit by using Grub and pulling up command line but I dont no how to get to the file from there to edit.
How do I edit the config file without being able to boot to get rid of the ";" in the config file so it will boot?