The root account on a Linux machine is very powerful and allows access to the basic system functions. But on an Ubuntu system this account is locked. To unlock this account, type this command.
Then enter this command to unlock the root account and set a password.
[email protected]:~# passwd root Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully
Now the root account is unlocked and you may login to the freshly enabled superuser account.
[email protected]:~$ su Password: root@ubuntu:/home/jason#
That is how easy it is to login to the root account on an Ubuntu system.