• MimicJar@lemmy.world
    link
    fedilink
    arrow-up
    13
    ·
    1 hour ago

    Sure. So we don’t know the original question but we can see that changes were made to SDDM, which is basically your login screen. So the original request was probably something like “Can you change my login screen to do something cool?”

    Now, the configuration for the login screen is located in /etc and requires administrative privileges to change.

    The query was run by the user account and not an admin account. Typically to run something as admin you use the command sudo which will interactively ask for a password and then, if allowed, you can run the command as an admin.

    However the tool docker, in order to function properly, has the ability to run commands as administrator and won’t prompt for a password.

    So basically what happened here is instead of asking for a key to unlock the front door to your house, it installed a new door on the second floor, went through that door, rearranged your refrigerator, went back out the door it created, and then patched up the hole perfectly.

    • ransomwarelettuce@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      32 minutes ago

      that’s why I love podman, systemd integration and runs everything in userland by default no need for sudoers configuration.

      unfortunately I still need docker on my machine for remote contexts.