I have tried both commands
sudo passwdand
sudo -u root /bin/bashBut 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.