How To Disable Root Login on Ubuntu 20.04
All Linux-based machines come with a default root user that has all privileges on the machine. Good security practices recommend that you disable the root login over SSH to prevent unauthorized access to your Linux-based machine by any other user. Disabling root login prevents root access over SSH to your Linux-based machine, which means that no one will have unlimited privileges.