0

When I installed Ubuntu Server 20.04.4 LTS, I never created a root account. I just have an admin account I believe it is.

I read that a root account is already there but the password needs to be set.

If I do not set the root password to something ridiculous and I get hacked, I assume the hacker would create the password and get in then I am in trouble, correct?

Tug
  • 21

1 Answers1

3

A normal install of Ubuntu does not offer to set a root password. The root account is there (it MUST be there for a Linux system to work), but generally should not be used by humans. Use sudo instead.

Advice: Do NOT set a root password on an Ubuntu system. It's not necessary.

ONLY somebody with admin/root permission can create/reset the root password (but don't do it!) If your system is compromised so an attacker can access root, the "access root" part isn't your big problem. The "compromised" part is.

user535733
  • 62,253