> So I would like to "break in" the vm-template as dom0, and change > that one line in /etc/pam.d/common-auth back. But how to mount the > root.img file? I answer my own question, since this is more easy & efficient than I thought, and should help others in many cases!
(0) make sure template-vm is halted. (1) as dom0 root: (a) fdisk -l path-to-root.img Then read off the start sector of ...root.img3, (say, 1000). Multiply that value with 512 (512000 in my example). (b) mount -o loop,offset=512000 path-to-root.img /mnt (change 512000 by your value) (c) modify bad config files (d) umount /mnt (2) restart template-vm and we're back! Bernhard -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/bb6ea5f3-73aa-b6e0-4d32-e3f2a11d8d4c%40web.de. For more options, visit https://groups.google.com/d/optout.