Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

share|improve this question

migrated from serverfault.com Apr 12 '13 at 6:50

This question came from our site for professional system and network administrators.

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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