I guess it just shows how effective SELinux is if it is preventing the admin from doing something. /s
SELinux is unmanageable; just turn it off if it gets in your way
21–30 of 461 posts
Re: SELinux is unmanageable; just turn it off if it gets in your way
#22Everyone who has even a slight interest in learning how to use selinux should just go through this CTF-style game: http://selinuxgame.org/
There's something funny about a website about teaching security practices being unavailable through HTTPS. It looks like the website is hosted by github pages, and the author didn't bother setting up SSL correctly.
Re: SELinux is unmanageable; just turn it off if it gets in your way
#23Re: SELinux is unmanageable; just turn it off if it gets in your way
#24Everyone who has even a slight interest in learning how to use selinux should just go through this CTF-style game: http://selinuxgame.org/
There's something funny about a website about teaching security practices being unavailable through HTTPS. It looks like the website is hosted by github pages, and the author didn't bother setting up SSL correctly.
Re: SELinux is unmanageable; just turn it off if it gets in your way
#25As an experienced RHEL admin, a few years ago I probably would have said this is very bad advice in any professional context, and you should spend the time to learn it because it will save you one day. Now, I think my advice would be: Put everything in a container, and learn how to run Docker or Podman (or k8s) in a secure way (ie no root containers, be very careful with volume mounts, etc). Yes, they aren’t as matur…
Containers have made the conceptual shift from allow/deny to isolate/share. Somehow this feels better even though it is effecitvely the same.
I am still waiting for an abstraction that uses all the low level features and wraps them in a high-level interface that puts usability front and center.
I am not sure if this is even possible though because many applications are not built with sandboxing in mind. Adding another file somewhere on the system that needs to be accessed is not considered a breaking change by most. So maybe we need a more fundamental shift.
Re: SELinux is unmanageable; just turn it off if it gets in your way
#26SELinux for mere mortals: https://youtu.be/MxjenQ31b70
Re: SELinux is unmanageable; just turn it off if it gets in your way
#27Earlier quoted context omitted.
There's something funny about a website about teaching security practices being unavailable through HTTPS. It looks like the website is hosted by github pages, and the author didn't bother setting up SSL correctly.
Is there anything on the site that needs to be secured with TLS? There's no authentication, no user details, why would it need to be secured?
Re: SELinux is unmanageable; just turn it off if it gets in your way
#28Re: SELinux is unmanageable; just turn it off if it gets in your way
#29The advice is poor and shows the authors lack of basic ability to understand basic selinux tooling. It's doubly bad because most people running modern Linux run their apps in containers and don't need to understand it as they don't run into problems. I'd this really is what gets the pageviews maybe someone should write a how-to on disabling all permissions because it's too hard.
Re: SELinux is unmanageable; just turn it off if it gets in your way
#30Earlier quoted context omitted.
There's something funny about a website about teaching security practices being unavailable through HTTPS. It looks like the website is hosted by github pages, and the author didn't bother setting up SSL correctly.
Is there anything on the site that needs to be secured with TLS? There's no authentication, no user details, why would it need to be secured?