Commanding Chaos for Coworking, Open Source and Creative Communities

Using Apache and SELinux Together | Drupal Watchdog

Sat, 11/15/2014 - 13:04 -- rprice

SELinux provides confinement on an application if the application has been hacked, even if the application is running as root. If policy says the Apache process is only supposed to read Apache content, then even if a hacker gets uid = 0 (the root user), he will not be able to turn it into a spam bot; he will not be able to read credit card data in your home directory; and he will not be able to destroy log files. The hacked process will only be able to act as an Apache process.