In principle, the images have
sudo privileges, which should be enough for the operations you require. If, in any case, you want to change the root password, you can do the following.
passwd -d root;
Please let us know if this solves the issue.