-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Wed, Nov 22, 2017 at 11:02:11AM +0100, Bernhard wrote:
> Hello,
> 
> I brought myself in trouble, when I (badly) followed the vm-sudo
> instructions : as non-root, I modified (using each time sudo) the file
> /etc/pam.d/common-auth in debian-8.
> Now, at the follwoing steps I would need to sudo again - but the process
> is blocked (saying 3 times bad password), since the new VMAuth is (only)
> partially set up.

I see you've already managed to fix the issue, but for anyone else: you
can access root using qvm-run command. For example:

    qvm-run -u root debian-8 xterm

> - Of course, qubes-revert command for template vm does not exist in Q4,
> that would be too easy.

There is qvm-volume tool that provide similar functionality:

    qvm-volume revert debian-8:root

But in default setup, no previous state is preserved, so there is
nothing to revert to...
https://github.com/QubesOS/qubes-issues/issues/3256

> - Actually, reinstalling debian-8-template fails as well, since there
> seems no package named qubes-template-debian-8 in contrast with the
> qubes documentation
> -  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 tried a losetup & mount approach, but the file is
> non-mountable. I have not found any documentation either.
> 
> So I ask in despair for some help. Bernhard
> 

- -- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJaHuXvAAoJENuP0xzK19csFA0IAIfV3qM/dK7k5mTQNpWazzDJ
5rd5x4lAq3hmAZC6PB1I9vG2kxxEzWrobGA01eFFOUYYrKffIoHXPSpRPVwNs3jw
VxnhvyuOFHnzBGYUFSZXUyE9r+rm6E43ByhX3BmNQhIHrMvSM7aA3jgiysGgO/Oq
+d73T47gT2fxVsfyTSg56A38FAQAzUSnBefCAxylE7XhqHT8qOYihogGMljAf01S
V+lEw/mfWEKH+dl2N+zw8LhNqICGi6+eqjhbFADptpz0wITKsgNKCF7ZWwJOGnPE
vzSzdVrazgmilRaqpD6YcaZEvs549Ydz4LrkxjKo0Hp0WnppL+rodTXTK78nqDk=
=AOXj
-----END PGP SIGNATURE-----

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20171203014301.GF1935%40mail-itl.
For more options, visit https://groups.google.com/d/optout.

Reply via email to