July 6, 2021 . 1 MIN READ
To enable the root account and access directly via the console in root mode, you must type the command:
$ sudo passwd root
This command allows you to set up the password mode for the root user which will be activated for the console sessions only (no GUI). Once the password is initialized, it will be possible to open a console session with the user root.