There are a number of references for how to reset your root password in Ubuntu, if you've forgotten it that reference booting into recovery mode. I've found a simple way to do it that only requires a couple of steps.
Enter the following command: sudo passwd root
You will be prompted to enter your new password twice