in reply to bleustenns

It's an unnecessary layer of complexity. I am the only user of my personal laptop. I don't need fine-grained permissions. Linux users and groups are enough for any permission needs I might have, like docker group, audio and video groups, etc. I don't have any "classified" documents on my computer. My home directory and root are on different disks. I can easily format and reinstall my system if something goes wrong and keep all my personal data.
in reply to bleustenns

It's a pain in the ass when you want to run a web server on your PC. You have to disable SELINUX else the damn thing won't let me modify html pages and show the updates. Everything is just frozen from making any changes. That said, it's probably easier to do web development another way, my method is nearly two decades obsolete. SELINUX really pissed me off though. I wanted to test forum software on my PC once, and SELINUX was blocking me and I couldn't figure it out for ages.
in reply to bleustenns

Linux permissions are obvious, straightforward, and very easy to change - They rule.

SELinux permissions are impossible to see, seemingly pointlessly more complex, and I don't know how to check them or change them i.e. They drool.

As a power user who is constantly changing system stuff, installing weird stuff, running weird servers, disabling SELinux is like, step 2 of installing Linux for me (and honestly, even if you're not a power user, I can assure you at least ONE issue you've faced was actually caused by SELinux under the hood). I have wasted whole days working out just that SELinux is causing my fucking issue, and then days more on how to fix the permissions, and then days more doing those again when those permissions RESET as it is wont to do and days more trying to make my needed changes permanent. And let's not even get started on how to transplant an SELinux permissions structure from one disk to another. So instead of a week's worth of frustrating work every year, I can spend one minute disabling SELinux.

Its implementation feels contradictory to the most basic principles of understandable and workable systems. It's like the NSA wanted to make software that was the diametric opposite of the Zen of Python. It's ugly, it's implicit, it's complicated, nested, dense, unreadable, full of special cases, and silent errors, it constantly guesses in the face of ambiguity (which is why I have to constantly correct it).

Basically, I have wasted too much of my life faffing with an opaque and ludicrously complex permissions layer that seems to be there solely as a 'just in case' my already existing permissions aren't good enough.

This entry was edited (1 day ago)
in reply to DanceMomsSavedMe

My dude, check this out (or don't, whatever), but the NSA has a Blue Team (defense) as well as a Red Team (the one you're irrationally angry at). The NSA Blue team is responsible for securing US computer systems. Look that up on DDG.

SELinix is a MAC layer built to supplement the DAC later (traditional UNIX permissions) intended to secure things the DAC doesn't.

With it, Apache can't read /etc/password or random locations like /opt/something/somewhere. Without it, we get the Equifax data breach of 2017.

Everyone saying "I can't stand up a simple web server with SELinux running" glosses over (or ignores) the fact that if they just put their files in the default location, which has the default contexts, it works. They just get pissed that they can't serve up /some/random/location/ without fixing the context so Apache is allowed to read the files.

This website uses cookies. If you continue browsing this website, you agree to the usage of cookies.