For those of you undergoing a similar condition as I was when I wanted to log in as root but did not have the root password on ubuntu.
By default, the root password is set to some hash during the fresh install. so if you want to change it to your own, do the following.
sudo passwd
Type in the new password for root and you are done.
By default, the root password is set to some hash during the fresh install. so if you want to change it to your own, do the following.
sudo passwd
Type in the new password for root and you are done.