this post was submitted on 19 May 2025
337 points (94.9% liked)

linuxmemes

25040 readers
2057 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] [email protected] 3 points 3 days ago (1 children)

    I use NixOS which is immutable

    [–] [email protected] 2 points 3 days ago (1 children)

    NixOS isn't the only immutable distro...

    [–] [email protected] 3 points 3 days ago (1 children)

    It's not even fully immutable, but it has a lot of the protections of it. The declaritive part is pretty hot and the package system is expansive and extremely safe.

    it's also really nice to be able to commit new changes without rebooting.

    [–] [email protected] 1 points 2 days ago (1 children)

    What's not fully immutable? You can't modify the store

    [–] [email protected] 1 points 2 days ago (1 children)

    Not everything in the config paths are in the store.

    None of the users are in the store

    Any users can run arbitrary binaries as long as they're not dynamically linked.

    Root can permanently add and remove arbitrary stuff to/from the store at run time.

    It's pretty good in a lot of ways you can't modify hosts and you can't throw stuff into cron, but a great deal of Nixos is mutable.

    [–] [email protected] 1 points 2 days ago (1 children)

    Every immutable system allows you to run binaries

    [–] [email protected] 1 points 2 days ago (1 children)
    [–] [email protected] 1 points 1 day ago* (last edited 1 day ago) (1 children)

    Couldn't reproduce modifying the store as root, but the users thing is true

    Not sure which things are not in the store though

    [–] [email protected] 1 points 1 day ago (1 children)

    Root can't hit it simply, it's mounted rw, with a RO mount inside. Root can just check add and remove stuff while running with nix commands.

    Basically, it you have a privileged access exoloit, it's possible to target someone in ways you can't in silverblue

    Some people have made ways to make it more immutable. You can do things like add user folders and etc to the store. Harden it a little more. I'm the end, priv can just modify config*.nix and run rebuild in the background changing whatever.

    Other os, you have to commit changes and actually reboot. Which gives you an opportunity to check for changes and deny. Or at least fully detect it happened.

    It's not that it's dangerously insecure, but it's important to recognize it's not actually bulletproof and targeted attacks are still quite possible. It's LEAGUES more secure than regular OS, but you can't go full LifeLock on it.

    [–] [email protected] 0 points 18 hours ago (1 children)

    If you have a root exploit I doubt Silverblue will save you

    I'm not really running it for security reasons either

    [–] [email protected] 1 points 8 hours ago

    I would argue it's harder to get a root exploit on Silverblue because more of the filesystem is less mutable and applications are more sandboxed.

    I'm running NixOS because declarative is saving me time on system changes nad keeping multiple workstations synced up.

    SB is more well protected against unauthorized system changes, Nix is more flexible while still providing good rollbacks.