• ReversalHatchery@beehaw.org
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    edit: it is worth noting that having root access on a desktop Linux system is horribly insecure as well, though. I completely remove sudo on my systems (although considering one can just invoke su -c or su - root that doesn’t help too much in actuality)

    You have just proven you never or very rarely use a computer. How do you even update the system without sudo or an alternative to it?
    Without root permissions you basically can’t manage your system anymore.

    • zwekihoyy@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      one of the reasons I use nix package manager is because it doesn’t require root. it has separate build users and a daemon responsible for privileged file management. I also have a separate user with access if I absolutely need it, or I can log in with a live session and chroot into my system.

      if you need root for a general purpose application then it’s badly designed

    • zwekihoyy@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      a better solution than giving blanket root access would be an API/daemon that provides more fine grained permission control, similar to how flatseal manages the flatpak sandbox.

      edit: anyone wanna help me on a new project idea…?