• keisatsu@infosec.pub
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 days ago

    Adding a user to the docker group is equivalent with granting it passwordless root privileges, never do that unless you know precisely why and understand the risks involved.

    On the positive side, forbidding password-based auth, installing and using a firewall and locking down the root account is good advice

    • MalReynolds@piefed.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 days ago

      Getting whatever you can (likely most, or all) into rootless podman, preferably with SELinux is worthwhile. Docker is a security nightmare.

  • lntl@lemmy.sdf.org
    link
    fedilink
    arrow-up
    0
    ·
    5 days ago

    I would add changing the SSH port to one that isn’t 22. This isn’t any more secure, but does tamp down on automated scanner traffic.

      • lntl@lemmy.sdf.org
        link
        fedilink
        arrow-up
        0
        ·
        4 days ago

        keys are more than enough for security but keya doesn’t reduce automated scanner traffic at all. for each automated scan, the server will open a connection and attempt to authenticate the client which consumes resources and spams logs. When I switched to a different port, my automated scanner traffic dropped to essentially zero.

        • shalafi@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          arrow-down
          1
          ·
          4 days ago

          Gotcha! Yeah, I never left default ports at my last job and my only remaining personal server is on 22, but it’s under zero load.