Hacker News new | ask | show | jobs
by svennek 4572 days ago
I mounted it (by the ways of qemu-nbd and so forth) and chrooted into it. It seems like there are no accounts with a valid password in it..
1 comments

Based on https://access.redhat.com/site/solutions/641193 the root account is disabled but sudo is granted to the uid 'cloud-user'. Basically, it is configured to use cloud-init and be provisioned ssh keys.

If a root password is required, the KB recommends using 'guestfish --rw -a <image>', mounting the filesystem, and running vi against /etc/shadow.