This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] restore root password in domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] restore root password in domU
From: John Haxby <john.haxby@xxxxxxxxxx>
Date: Mon, 26 Oct 2009 12:22:21 +0000
Delivery-date: Mon, 26 Oct 2009 05:24:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9e97b1230910260514j27457e0fx6a2a5934c6e93eb6@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <9e97b1230910260514j27457e0fx6a2a5934c6e93eb6@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4
On 26/10/09 12:14, alex wrote:
Hi. I have dom0 - debian Lenny, xen 3.3.1, domU - debian Lenny as PV(based on host-kernel system). Root password of domU was lost(or Hacked) and I need imidiately restore domU. Now I can just connect by console to my domU(but I can't logging to system without password), VNC not avaible in PV. I have no control of system and don't know what can I do. Need help really.

You can't boot the guest in single-user mode to change the password? I think that's what you're saying.

Anyway, it's easy enough to get to the guest's disk without booting it. Search the archives for "kpartx" (or look it up in the man page) -- that'll give you a way of mounting the guest's filessystem(s) in the host so you can edit the password file directly.

I feel compelled to point out that kpartx has nothing to do with X or KDE, despite the name :-)


Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>