Why wrap a CLI tool in a docker container? Wouldn’t it be simpler to directly compile nyancat to multiple architectures if the goal is to make it run on all platforms?
Because I’m doing this as a “self-learning” process. Plus, docker is an excellent tool and even “silly” images like this one can give me an edge while looking for (more) jobs, so there’s that. Coding could grant me the same “edge” as well yes, but docker has “more value” since it requires you to code -AND- to have some knowledge/depth regarding typical “dockerization” processes.
This is not a very good question. If you are concerned about security you need to think about what specifically you are trying to keep safe? Here are some examples of different security scenarios:
Do you want your computer to be safe when it is stolen?
Do you want to run lots of native apps from untrusted sources?
Do you want it to be used by many people and you don’t want them to be able to steal each others secrets?
Each one of those questions has different means of securing the computer. With question 1, it is not so much a matter of desktop environment, rather it has more to do with using full-disk encryption, setting a boot password in UEFI, and always having your lock screen enabled.
With question 2, this is a much more difficult task and you would probably be better off running apps in a VM, or carefully crafting your “Security Enhanced” Linux profile – or not using Linux at all, but using FreeBSD which allows you to run apps in jails.
With question 3, be more careful with filesystem permissions and access control lists, setup your sudoers file properly, and use a desktop environment with better security auditing like Gnome or KDE Plasma.
Never heard of these jails, like bubblejail? Its available on Linux too.
I know the question is vague and highly dependend on Threat model etc. Pre-enabled services, distribution adding stuff to it, SELinux confined user (not working with Plasma at all), xwayland support for keylogging chosen keys (Plasma).
Also GTK is widely used for rust apps, this doesnt exist on Plasma at all, not a problem though as Plasma is not Gnome and simply supports GTK normally.
I don’t think the DE itself matters, but I can recommend using an immutable OS (makes it harder to install malware) and installing flatpak apps only. You can also use software like flatseal to further lock down permissions
A mostly read only filesystem built from a limited number of packages, with other files being in a fixed number of locations mean it is harder for malware to hide.
You can achieve the exact same thing with a normal distro if you mount /var and /boot separately of /. And if you get a root exploit it’s just as harmful on either approach.
“Immutable” systems are meant for maintainer comfort not for user security.
No, you can’t : in an immutable distro I can reasonably trace almost any file in the filesystem back to the package that created it, and know with a reasonable degree of certainty that the installed version of said file has not been tampered with. That isn’t possible an a normal distro.
Sure it is, has been for decades. You can use a read-only root partition, there are many tools to ensure the integrity of everything on it, and tracing files back to their package is a very old feature.
Ublue is like rpmfusion but for image-based. Its the addition to fedora, with packages they can’t ship. They replace all the libav* with complete ffmpeg which is pretty great as its a great tool and Firefox works ootb.
For example they have -nvidia images for every image, which is the best way to use the proprietary NVIDIA drivers as you can roll back and a broken update simply wont ship to you.
They also have modded kernel images for Razer, Surface and a special Framework image.
Another cool project basing off their “starting point” toolkit to create custom images, is secureblue, a security-optimized Version including
hardened kernel and hardened_malloc
updated Chromium, maybe soon Brave
soon a hardened Chromium (currently as COPR “vanadium”) like GrapheneOS
hardened services, firewall
removed unused kernel modules
It is very security focused though, so no Firefox, no Flatpak as its currently broken, Podman (distrobox, toolbox) is currently not working and its unclear if that is actually necessary, …
Bluefin is their fancy distro with lots of Tools, a custom Desktop, integrated Developer packages and more.
You can only teach someone Linux if they have a desire to learn it. If they don’t want to learn it, then they might learn that it’s “bad” or “weird” compared to mainstream OSes, which would be working backwards.
A friend of mine got his son to use Linux by just not providing an alternative, he installed Debian edu (don’t know if that’s the name, but basically a Debian spin for kids with parental restrictions and stuff) on an old laptop for him and that’s what he used. Once he got his own PC it was over though since he wanted to play Fortnite so bad that he bought windows for that. He still dual boots Fedora, but I don’t think he has used it since the windows partition is there.
I think the thing is you can’t really get kids (or people in general for that matter) into Linux the way you are probably into it and interested in it. At least not if they’re not already interested in it on their own. They will learn how to use it sure, but not the way we’re used to using Linux, understanding the intricacies of the system, keeping the system safe,… They’ll probably find a way to do what they already do on windows and ignore that the OS is different.
IMO, his aproach was too strict, that’s why it failed and just caused repulsion towards Linux. There are other ways you can “make” children like things.
I don’t think this was too strict, maybe I made it sound that way, but it was not like he forbid him using windows, it was just that he’s using Linux, his son got his old laptop that was running Linux and they didn’t have a windows license, so his son was running Linux as well. He’s also doing fine on Linux and doesn’t dislike it or anything, the only “problem” was that he wanted to play Fortnite which does not work on Linux. He’s also getting along fine with Linux, especially on fedora where he doesn’t need the Terminal.
What I wanted to say with that comment is that you can’t make your kids to learn and use Linux like most of us probably do. For most people an operating system is still just some black magic on their computer that makes the browser or their games run, they don’t care how it works or if it is secure or using the latest software. Most people just don’t know and don’t care what an OS even is and the same thing goes for kids imo
Oh, that’s different then… I thought his dad was like “run Debian, or you’re grounded”, lol 😂.
I agree on the last part, that is most definitely true. You can try, but you can’t force it 🤷. After all, his/hers gifts may lay in another field, not tech 😉.
In your case I would just start by copying a full setup someone else made and then customizing it, starting from scratch always takes a lot of effort. Reddit’s unixporn was great for that, the alternatives on lemmy are sadly still a little empty.
I found the opposite actually. I tried others’ configs but nothing clicked and I didn’t learn about the bits I didn’t really care about
Starting from scratch, got the bare minimum to use it (launcher, three finger swipe, terminal bind) and then just attempted to daily drive it fixing bits as I go
Also always had the option to bail back to gnome on reboot if I needed to do something urgently that didn’t work
Yep, this is good as well. Use whatever suits the needs best, but I’d try and get him leaning towards the FOSS side - use other OSes only if you have to.
Yeah, I just wanted to say that if anyone says “this distro is a bit older but it’s really stable and good for use” it’s scaring away people without them even needing it updated since they’re used to getting told by Microsoft that “you have to to update to the newest”
The point about updating apps is also useless to them, as long as it works they will use it, my dad used windows xp with office 2003 until 2021 when the computer finally died, I told him countless times to update to a newer os but he refused every single time
That may be true for some users but there are those in decent quality looking for a more technical experience. Development comes to mind; you probably should use the latest versions in some cases.
Yeah, but developers probably already know what is Linux, either from them learning about it at school or just by other developers
But developers probably already know something about their os, they don’t just use what they get on a computer or a laptop, most of us probably messed with some deep settings of whatever system we use, i. e. something that a regular user won’t do
My brother is a Linux first-timer, and he specifically asked me to install Debian after I explained that it’s stability-focused, but as such sacrifices functional updates and is only globally updated once every two years.
Some people need latest and greatest (i.e. here’s your Arch), some need stability over everything (i.e. here’s your Debian), some don’t need extremes and strike a balance somewhere in between (i.e. everything else).
I use Manjaro (Arch-based) on main PC and Debian on a work laptop. Main PC should better enjoy all the benefits of all things new (while standing a week or two behind bleeding-edge to not cut itself, which is Manjaro’s selling point) while work laptop is mission critical and can work perfectly fine with what Debian has to offer, so, Debian it is.
His screen time is currently limited and he’s been asking me to remove the limit. Guess I can let him dual boot into Mint without any screen time limit so that he can play around.
„hey son! I hardened the parental controls on your windows install. And by the way, I installed Linux to your PC as well. It has no parental controls.“
I had a similar issue when I started with Hyprland to set up all the additional programs which usually come with a DE. But there are preconfigured setups which give you a “full DE” experience out of the box and you can customize from there.
I recommend SolDoesTech or My Linux for Work. Both have full guides on Youtube as well for “easy” Arch + Hyprland installs.
As far as I recall, it never was relevant. It was generally viewed as a rant written by a non-professionnel. Perhaps I am wrong? Sorry if I am wrong?? Don’t start reporting me, please.
I remember reading there, when it wasn’t on github pages but it’s own website, the recommendation to keep your critical dotfiles permissioned to a different user account of yours. I don’t think that’s bad advice. Yes it is probably not needed if you use the system as a pro sysadmin for server purposes, but for desktop use it’s just natural that you’ll run a lot more programs in a much less controlled manner.
Of course there were ones that I thought they went overboard, but it has at least a few good pieces, if not more, I don’t really remember.
linux
Newest
This magazine is from a federated server and may be incomplete. Browse more on the original instance.