0

How can I install Fedora 18 without SELinux ever being part of the installation? I don't want to just disable SELinux after it's installed, I want to never install SELinux at all. Is there a way to do this using the CD image and Live System User?

4

Not without recompiling the kernel and probably a whole bunch of userland utilities. SELinux is, after all, a core part of the Linux kernel, and the system design assumes it will be available, even if not in use.

Since you didn't specify why you want to do this (you should have) it's hard to advise further. Whatever it is, it's probably a bad idea.

To disable SELinux, edit the /etc/selinux/config file and set SELINUX=disabled. If you're doing a kickstart installation, you can always set this in the %post section, so that it's already disabled on first boot.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.