How can I change the root and user passwords

I would like to change the passwords used for this image haos_generic-aarch64-14.0.qcow2; how can I do this? Is there a default?