linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

blotz, in Anyone want to try this "nyancat" docker image? It's pretty big -- 23kIB. :^)
@blotz@lemmy.world avatar

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?

flashgnash,

I would imagine it’s just to experiment with docker

FooBarrington,

If you really wanted to, you could create an actually portable executable :)

brakenium,

That looks really interesting! Does this exist for other languages like Rust?

FooBarrington,

Yes, some people tried it, and it seems to work: ahgamut.github.io/2022/07/27/ape-rust-example/

brakenium,

Very interesting, might have to check that out sometime

AnUnusualRelic,
@AnUnusualRelic@lemmy.world avatar

Like go?

GustavoM,
@GustavoM@lemmy.world avatar

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.

jorgesumle, in Any experience with teaching kids Linux?
@jorgesumle@lemmy.pt avatar

They like playing SuperTux

Ramin_HAL9001, in Which Desktop / Window Manager is most secure?

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:

  1. Do you want your computer to be safe when it is stolen?
  2. Do you want to run lots of native apps from untrusted sources?
  3. 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.

Pantherina,

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.

jman6495,

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

lemmyvore,

I’m starting to think people misunderstand what an “immutable” distro really does…

jman6495,

Please do share with me what I do not understand.

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.

lemmyvore,

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.

jman6495,

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.

lemmyvore,

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.

Pantherina,

Already doing that :D kinoite-main from ublue

mintycactus,
@mintycactus@lemmy.world avatar

deleted_by_author

  • Loading...
  • Pantherina,

    I dont get that scentence

    mintycactus,
    @mintycactus@lemmy.world avatar

    deleted_by_author

  • Loading...
  • Pantherina,

    No that is bluefin, their special distro.

    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.

    mintycactus,
    @mintycactus@lemmy.world avatar

    deleted_by_author

  • Loading...
  • Pantherina,

    For firefox AND video thumbnails and preview to work you can just add libavcodec-freeworld. But full ffmpeg is so much better.

    jman6495,

    Very good choice :D

    Synthead, in Any experience with teaching kids Linux?

    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.

    CaptainJack42, in Any experience with teaching kids Linux?

    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.

    0x4E4F,

    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.

    CaptainJack42,

    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

    0x4E4F,

    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 😉.

    rasensprenger, in Spending a few days with Hyprland made me realize how awesome Gnome is

    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.

    flashgnash, (edited )

    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

    BigTrout75, in Any experience with teaching kids Linux?

    I’m teaching my son to be pc agnostic.

    0x4E4F,

    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.

    Nibodhika, in Which Desktop / Window Manager is most secure?

    If you’re going to be that level of paranoid might as well not have graphical interface at all.

    BigTrout75, in Just install EndeavorOS lol

    Bah ha ha! All the main distros are amazing these days. You really can’t go wrong with most. And if one doesn’t work, just pick another of the top 5.

    PoisonedPrisonPanda, in Which Desktop / Window Manager is most secure?

    As others said, depends on the definition.

    I throw Tails into the ring.

    Having a non-persistent system makes it safe in some way.

    baggins, in Just install EndeavorOS lol

    Install Debian. Everything is based on it.

    shapis,
    @shapis@lemmy.ml avatar

    It’s a hard sell explaining to new people that they will have software up to a couple years out of date.

    skqweezy,

    Yet they scream when their 6 months old un-updated windows install wants then to update

    shapis,
    @shapis@lemmy.ml avatar

    Yet they scream when their 6 months old un-updated windows install wants then to update

    The problem isn’t the OS being out of date I wouldn’t think, it’s the applications they actually use. Flatpaks are kind of a solution but not really.

    skqweezy,

    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

    iegod,

    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.

    skqweezy,

    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

    Sanyanov, (edited )

    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.

    uis,
    @uis@lemmy.world avatar
    sviper, in Any experience with teaching kids Linux?

    Got my little brother (12) to run Minecraft on Linux mint,

    tourist, in Any experience with teaching kids Linux?
    @tourist@lemmy.world avatar

    When I was 12 I got “tricked” into installing Linux Mint from a USB drive because another kid told me it had Garageband on it.

    Like that meme where you give someone a bunch of adderall and a pickaxe and tell them there’s gold under a location you need excavated.

    Perhaps you could explore adjacent strategies?

    nayminlwin,

    May be not a bad idea.

    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.

    WhiteHotaru,
    1. harden parental controls on windows install.
    2. „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.“
    3. ???
    4. Linux Sysadmin
    Snowcap7567, in Spending a few days with Hyprland made me realize how awesome Gnome is

    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.

    bbbhltz, in Just read Madaidans Insecurities. Do you know how much is still relevant?
    @bbbhltz@beehaw.org avatar

    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.

    ReversalHatchery,

    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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #