There is, generally, no need to use root for Ubuntu, since everything is done via sudo. If you wish, though, you can set the root password by typing:
sudo su |
Enter the user password, and then:
passwd |
Enter the root password you wish to use. Now, you can log on as root if you wish.