β² 858 βΌ I didn't know you were supposed to disable root user... (linux.community) submitted 2 years ago by Tablaste@linux.community to c/linuxmemes@lemmy.world 170 comments fedilink hide all child comments 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.
[β] jatone@lemmy.dbzer0.com 12 points 2 years ago* (last edited 1 year ago) (1 child) Id consectetur dolore eiusmod culpa. permalink fedilink source parent hideshow 2 child comments replies: [β] satans_methpipe@lemmy.world 9 points 2 years ago (3 children) Which ones? I'm asking because that isn't true for cent, rocky, arch. permalink fedilink source parent hideshow 6 child comments replies: [β] TheEntity@lemmy.world 14 points 2 years ago (2 children) Mostly Ubuntu. And... I think it's just Ubuntu. permalink fedilink source parent hideshow 4 child comments replies: [β] Ghoelian@lemmy.dbzer0.com 5 points 2 years ago (1 child) Fedora (immutable at least) has it disabled by default I think, but it's just one checkbox away in one of the setup menus. permalink fedilink source parent hideshow 2 child comments replies: [β] Damage@feddit.it 3 points 2 years ago Standard Fedora does as well permalink fedilink source parent [β] satans_methpipe@lemmy.world 1 point 2 years ago Ah fair enough, I know that's the basis of a ton of distros. I lean towards RHEL so I'm not super fluent there. permalink fedilink source parent [+] jatone@lemmy.dbzer0.com 6 points 2 years ago* (last edited 1 year ago) (2 children) [deleted] permalink fedilink source parent hideshow 4 child comments replies: [β] satans_methpipe@lemmy.world 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. permalink fedilink source parent hideshow 2 child comments replies: [+] jatone@lemmy.dbzer0.com 1 point 2 years ago* (last edited 1 year ago) [deleted] permalink fedilink source parent [β] steventhedev@lemmy.world 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. permalink fedilink source parent hideshow 2 child comments replies: [+] jatone@lemmy.dbzer0.com 3 points 2 years ago* (last edited 1 year ago) [deleted] permalink fedilink source parent [β] floquant@lemmy.dbzer0.com 4 points 2 years ago Rocky asks during setup, I assume centOS too permalink fedilink source parent
[β] satans_methpipe@lemmy.world 9 points 2 years ago (3 children) Which ones? I'm asking because that isn't true for cent, rocky, arch. permalink fedilink source parent hideshow 6 child comments replies: [β] TheEntity@lemmy.world 14 points 2 years ago (2 children) Mostly Ubuntu. And... I think it's just Ubuntu. permalink fedilink source parent hideshow 4 child comments replies: [β] Ghoelian@lemmy.dbzer0.com 5 points 2 years ago (1 child) Fedora (immutable at least) has it disabled by default I think, but it's just one checkbox away in one of the setup menus. permalink fedilink source parent hideshow 2 child comments replies: [β] Damage@feddit.it 3 points 2 years ago Standard Fedora does as well permalink fedilink source parent [β] satans_methpipe@lemmy.world 1 point 2 years ago Ah fair enough, I know that's the basis of a ton of distros. I lean towards RHEL so I'm not super fluent there. permalink fedilink source parent [+] jatone@lemmy.dbzer0.com 6 points 2 years ago* (last edited 1 year ago) (2 children) [deleted] permalink fedilink source parent hideshow 4 child comments replies: [β] satans_methpipe@lemmy.world 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. permalink fedilink source parent hideshow 2 child comments replies: [+] jatone@lemmy.dbzer0.com 1 point 2 years ago* (last edited 1 year ago) [deleted] permalink fedilink source parent [β] steventhedev@lemmy.world 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. permalink fedilink source parent hideshow 2 child comments replies: [+] jatone@lemmy.dbzer0.com 3 points 2 years ago* (last edited 1 year ago) [deleted] permalink fedilink source parent [β] floquant@lemmy.dbzer0.com 4 points 2 years ago Rocky asks during setup, I assume centOS too permalink fedilink source parent
[β] TheEntity@lemmy.world 14 points 2 years ago (2 children) Mostly Ubuntu. And... I think it's just Ubuntu. permalink fedilink source parent hideshow 4 child comments replies: [β] Ghoelian@lemmy.dbzer0.com 5 points 2 years ago (1 child) Fedora (immutable at least) has it disabled by default I think, but it's just one checkbox away in one of the setup menus. permalink fedilink source parent hideshow 2 child comments replies: [β] Damage@feddit.it 3 points 2 years ago Standard Fedora does as well permalink fedilink source parent [β] satans_methpipe@lemmy.world 1 point 2 years ago Ah fair enough, I know that's the basis of a ton of distros. I lean towards RHEL so I'm not super fluent there. permalink fedilink source parent
[β] Ghoelian@lemmy.dbzer0.com 5 points 2 years ago (1 child) Fedora (immutable at least) has it disabled by default I think, but it's just one checkbox away in one of the setup menus. permalink fedilink source parent hideshow 2 child comments replies: [β] Damage@feddit.it 3 points 2 years ago Standard Fedora does as well permalink fedilink source parent
[β] Damage@feddit.it 3 points 2 years ago Standard Fedora does as well permalink fedilink source parent
[β] satans_methpipe@lemmy.world 1 point 2 years ago Ah fair enough, I know that's the basis of a ton of distros. I lean towards RHEL so I'm not super fluent there. permalink fedilink source parent
[+] jatone@lemmy.dbzer0.com 6 points 2 years ago* (last edited 1 year ago) (2 children) [deleted] permalink fedilink source parent hideshow 4 child comments replies: [β] satans_methpipe@lemmy.world 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. permalink fedilink source parent hideshow 2 child comments replies: [+] jatone@lemmy.dbzer0.com 1 point 2 years ago* (last edited 1 year ago) [deleted] permalink fedilink source parent [β] steventhedev@lemmy.world 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. permalink fedilink source parent hideshow 2 child comments replies: [+] jatone@lemmy.dbzer0.com 3 points 2 years ago* (last edited 1 year ago) [deleted] permalink fedilink source parent
[β] satans_methpipe@lemmy.world 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. permalink fedilink source parent hideshow 2 child comments replies: [+] jatone@lemmy.dbzer0.com 1 point 2 years ago* (last edited 1 year ago) [deleted] permalink fedilink source parent
[+] jatone@lemmy.dbzer0.com 1 point 2 years ago* (last edited 1 year ago) [deleted] permalink fedilink source parent
[β] steventhedev@lemmy.world 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. permalink fedilink source parent hideshow 2 child comments replies: [+] jatone@lemmy.dbzer0.com 3 points 2 years ago* (last edited 1 year ago) [deleted] permalink fedilink source parent
[+] jatone@lemmy.dbzer0.com 3 points 2 years ago* (last edited 1 year ago) [deleted] permalink fedilink source parent
[β] floquant@lemmy.dbzer0.com 4 points 2 years ago Rocky asks during setup, I assume centOS too permalink fedilink source parent