• Melmi@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 days ago

    The docker command doesn’t have to allow you to run commands as administrator to function properly. You can simply leave the docker group empty and run docker commands via sudo. Using the docker group is essentially equivalent to enabling passwordless sudo as far as security is concerned.

    • MimicJar@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 days ago

      That’s fair. So it’s more like you already have a door on the second floor, that door is unlocked, and a ladder in your garage.

      In this case the LLM knows about the ladder, but you forgot about it because you’re talking about the fridge on the first floor.

      • Melmi@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 day ago

        This works if you trust every program you run with silent root privileges. Sure, don’t run untrusted code in general, but I think it’s generally good practice to lock down root privileges as much as possible. Layered security and all that.