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.
I’m confused. I never disable root user and never got hacked.
Is the issue that the app is coded in a shitty way maybe ?