Skip to content

Instantly share code, notes, and snippets.

@jimleitch01
Created November 2, 2014 09:38
Show Gist options
  • Save jimleitch01/a567fe4ab28e01ff2177 to your computer and use it in GitHub Desktop.
Save jimleitch01/a567fe4ab28e01ff2177 to your computer and use it in GitHub Desktop.
guestmount -a Fedora-x86_64-20-20140407-sda.qcow2 -m /dev/sda1 /mnt
cd /mnt/etc
vi shadow
{replace "root" line with a root passwd entry from a system where you know the root pw}
cd
umount /mnt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment