Background: 15 years of experience in software and apparently spoiled because it was already set up correctly.

Been practicing doing my own servers, published a test site and 24 hours later, root was compromised.

Rolled back to the backup before I made it public and now I have a security checklist.

you are viewing a single comment's thread
view the rest of the comments
[–] 30 points 2 years ago (3 children)

wow crazy that this was the default setup. It should really force you to either disable root or set a proper password (or warn you)

  • source
  • parent
  • hideshow 6 child comments
  • [–] 12 points 2 years ago* (last edited 1 year ago) (1 child)

    Id consectetur dolore eiusmod culpa.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 9 points 2 years ago (3 children)

    Which ones? I'm asking because that isn't true for cent, rocky, arch.

  • source
  • parent
  • hideshow 6 child comments
  • [–] 14 points 2 years ago (2 children)

    Mostly Ubuntu. And... I think it's just Ubuntu.

  • source
  • parent
  • hideshow 4 child comments
  • [+] 6 points 2 years ago* (last edited 1 year ago) (2 children)
  • [–] 1 point 2 years ago (1 child)

    Many cloud providers (the cheap ones in particular) will put patches on top of the base distro, so sometimes root always gets a password. Even for Ubuntu.

    There are ways around this, like proper cloud-init support, but not exactly beginner friendly.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 2 years ago* (last edited 2 years ago) (1 child)

    Yeah I was confused about the comment chain. I was thinking terminal login vs ssh. You're right in my experience...root ssh requires user intervention for RHEL and friends and arch and debian.

    Side note: did you mean to say "shot themselves in the root"? I love it either way.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 8 points 2 years ago (1 child)

    Love Hetzner. You just give them your public key and they boot you into a rescue system from which you can install what you want how you want.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 10 points 2 years ago (1 child)

    I think their auction servers are a hidden gem. I mean the prices used to be better. Now they have some kind of systrem that resets them when they get too low. But the prices are still pretty good I think. But a year or two ago I got a pretty good deal on two decently spec'd servers.

    People are scared off by the fact you just get their rescue prompt on auctions boxes... Except their rescue prompt has a guided imaging setup tool to install pretty much every popular distro with configurable raid options etc.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 7 points 2 years ago (1 child)

    Yeah, I basically jump from auction system to auction system every other year or so and either get a cheaper or more powerful server or both.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 6 points 2 years ago

    I monitor for good deals. Because there's no contract it's easy to add one, move stuff over at your leisure and kill the old one off. It's the better way to do it for semi serious stuff.

  • source
  • parent