Why don't they just edit the password directly in the disk image (like this: http://libguestfs.org/virt-edit.1.html#non-interactive-editi... )?
I wrote a neat little tool called virt-dmesg which reads rather than writes kernel memory in VMs in order to pull out things like the kernel messages (dmesg): http://people.redhat.com/~rjones/virt-dmesg/
Also, since when is "Ubuntu" synonymous with Linux?