ditto
kiwifarms.net
- Joined
- Aug 17, 2019
Linux file permissions explained for Zoomers
Back in my day we did file permissions in octal and we liked it
Back in my day we did file permissions in octal and we liked it
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
And then there is selinux, I still can't get my head around it.Linux file permissions explained for Zoomers
Back in my day we did file permissions in octal and we liked it
OpenBSD does it right with the pledge syscall which lets programs declare their resources and drop everything else.It sounds great in theory, a text editor shouldn't be able to connect over the network and download a file to execute, but setting up rules for everything is pretty painstaking.
I discovered unshare(1), even more lightweight. Fake chroot, fake PIDs, fake UIDs, network sandboxing, it's great when you the app you want to run is already installed as a regular program, no need to download gigabytes of runtimes. I have selinux running on my gentoo in permissive mode, so the logs are more for debugging why something is behaving retarded more than as security.@Another Char Clone - just use Docker, it's pretty much superseded SELinux for sandboxing shit
unshare(2) is sort of the Linux version of BSD, sadly I don't use BSD due to lack of hardware support, its already tough with Linux.OpenBSD does it right with the pledge syscall which lets programs declare their resources and drop everything else.
SELinux is so overtly complicated that that is an attack surface by itself. I was always a follower of the philosophy that good security needs to be dead simple, so that there can be no misunderstandings and so that there's also precious little room for bugs.
I still think Docker is painfully overcomplicated garbage and like half the people that offer Docker containers don't have any idea what they're doing and it shows, though.
Oh they can fuck off.View attachment 3890181![]()
Bug #1996682 “racist, misogynist, homophobic, fascist content in...” …
archived 18 Nov 2022 13:52:27 UTCarchive.ph
Offensive package has offensive humor, I'm shocked I tell you, shocked!
Your archive missed the essential last two replies:View attachment 3890181![]()
Bug #1996682 “racist, misogynist, homophobic, fascist content in...” …
archived 18 Nov 2022 13:52:27 UTCarchive.ph
Offensive package has offensive humor, I'm shocked I tell you, shocked!
Namespaces! I use bwrap and some scripts to basically rip programs out of linux distributions and run them in subdirectories "the windows way" where an easy rm -r can get rid of them and also their dotfiles get put somewhere where they don't clutter $HOME. This allows me to maintain my own base without having to agree to decisions by tranny distro jannies like in that post about no-no words in fortune up there but still use complex software without having to compile it myself. Made me give up on gentoo which has been marred with bad decision making in the last few years in favor of running my own KISS fork. It's also good for things like e.g. Firefox doing an absolutely ludicrous amount of writing to it's profile files and battering my drive, so this also allows me to put them into a tmpfs first.I discovered unshare(1), even more lightweight. Fake chroot, fake PIDs, fake UIDs, network sandboxing, it's great when you the app you want to run is already installed as a regular program, no need to download gigabytes of runtimes. I have selinux running on my gentoo in permissive mode, so the logs are more for debugging why something is behaving retarded more than as security.
I've been steadying myself to become a *BSD refugee for years by now and switched over to a lot of BSD tools. I even use ksh. I made the same experience though, every time I get my hands on a new system I get that tinge to maybe switch with that system to a *BSD and every time I come back with the realization "as long as I like using the network hardware or GPU, it's not an option" Really sucks and I don't blame them at all for the absolutely 0 support they're getting compared to even Linux, but that's them breaks. If I will live to see it, I guess the day that'll finally push me over is Linus dying/retiring/getting canceled and the corpos (through their useful idiots the trannies) taking the kernel over completely. they're 4/5 there already as is. I'll just do then what I did with Linux many years ago: Buy hardware with the express goal of running *BSD on it.sadly I don't use BSD due to lack of hardware support, its already tough with Linux.
I wonder if I should open a bug about sudo's insult mode.
View attachment 3890181![]()
Bug #1996682 “racist, misogynist, homophobic, fascist content in...” …
archived 18 Nov 2022 13:52:27 UTCarchive.ph
Offensive package has offensive humor, I'm shocked I tell you, shocked!
I've been steadying myself to become a *BSD refugee for years by now and switched over to a lot of BSD tools. I even use ksh. I made the same experience though, every time I get my hands on a new system I get that tinge to maybe switch with that system to a *BSD and every time I come back with the realization "as long as I like using the network hardware or GPU, it's not an option" Really sucks and I don't blame them at all for the absolutely 0 support they're getting compared to even Linux, but that's them breaks. If I will live to see it, I guess the day that'll finally push me over is Linus dying/retiring/getting canceled and the corpos (through their useful idiots the trannies) taking the kernel over completely. they're 4/5 there already as is. I'll just do then what I did with Linux many years ago: Buy hardware with the express goal of running *BSD on it.
People who abuse "bug" reports to whine about irrelevant bullshit that isn't a bug should be banned.Offensive package has offensive humor, I'm shocked I tell you, shocked!
I simply chuck a couple WD Red 8tb in my cargo shorts every time I go out.What's everyone using for Nextcloud nowadays? Apache or nginx with php-fpm?
I'm apparently just using the Docker container these days, looks like Apache. Seems to work fine for all 1 of my users.What's everyone using for Nextcloud nowadays? Apache or nginx with php-fpm?
I've ran it on Apache well enough before, worked well for personal use. Just rebuilding some stuff now and have an opportunity to install everything from scratch. Trying to determine if nginx will be lighter on the CPU and RAM usage compared to Apache.I'm apparently just using the Docker container these days, looks like Apache. Seems to work fine for all 1 of my users.