I have tried both commands
sudo passwd
and
sudo -u root /bin/bash
But as soon as I enter the new password twice, it says password has been updated. You close the shell and open a new instance, it is still working on the old root password.
Please help.