News for hackers. Stuff that matters.
Re:The Insecurity of OpenBSD (2010) by module0000 on Tuesday November 29, 2016 @05:16PM (#13066703)
If your www-user can read /etc/passwd without 'avc: denied' appearing in your selinux log, you are doing it wrong.

The whole idea behind selinux is to prevent this scenario from ever happening. Apache has a policy written for it, that specifies precisely which paths and contexts apache needs <X> type of access to. If it tries to access anything outside those paths and context, the selinux module denies the attempt. It's foolproof if you use it. It's also incredibly annoying if you are on a system with selinux enabled, but aren't familiar with selinux.

Re:The Insecurity of OpenBSD (2010) by dispose13432 on Tuesday November 29, 2016 @05:23PM (#13066747)
It's true, but containers are much easier to play with if your distro doesn't come with sane presets (Debian, for one)