Re: [qubes-users] mount root.img files

2017-12-03 Thread haaber
> > 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 > That is pretty cool and quick I admit. Notice however that my solution works even in a no-longer starting template (if this p

Re: [qubes-users] mount root.img files

2017-12-02 Thread Marek Marczykowski-Górecki
-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. >

Re: [qubes-users] mount root.img files

2017-11-22 Thread Chris Laprise
On 11/22/2017 10:01 AM, Chris Laprise wrote: Glad you recovered OK. The best way to execute the vm-sudo instructions is to switch to root user first with 'sudo su'. Notice that all the shell prompts in the document are '[root@vmname]#'. BTW I have a project Qubes-VM-hardening that uses vm-

Re: [qubes-users] mount root.img files

2017-11-22 Thread Chris Laprise
On 11/22/2017 05:02 AM, 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 b

Re: [qubes-users] mount root.img files [solved]

2017-11-22 Thread Bernhard
> 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

[qubes-users] mount root.img files

2017-11-22 Thread Bernhard
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), sinc