• WhoIzDisIz@lemmy.today
    link
    fedilink
    arrow-up
    5
    arrow-down
    3
    ·
    edit-2
    13 days ago

    Go to something immutable.

    Apparently this is not as strong a solution as I thought. Apologies.

    • moonpiedumplings@programming.dev
      link
      fedilink
      arrow-up
      6
      ·
      14 days ago

      Not really. Immutability can be overriden by root, who can then edit files.

      And in addition to that, /etc/, system config files, including pam files mentioned here, are not immuable even in immutable distros.

    • PabloSexcrowbar@piefed.social
      link
      fedilink
      English
      arrow-up
      4
      ·
      14 days ago

      I don’t know that the current crop of immutable distros would be able to prevent something like this. rpm-ostree, at least, lets you install out-of-tree rpm packages to the base system, you just have to reboot for them to take effect.