WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Can't add a user to Xen 3.0.3 VM !

To: "Henning Sprang" <henning_sprang@xxxxxx>, "Christopher G. Stach II" <cgs@xxxxxxxxx>, "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Subject: Re: [Xen-users] Can't add a user to Xen 3.0.3 VM !
From: "Omer Khalid" <Omer.Khalid@xxxxxxx>
Date: Wed, 24 Jan 2007 15:59:39 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 24 Jan 2007 06:59:42 -0800
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=nUNC5RBlLtdl527Ma5cMGakuOG50lc+91dDEWiJAxnnUmcIzAoIqBkA/cIdpdJ5aKp/nZRRKZanfFAEcr7Prkqe32Bvub+SzMNyRiDQEsMoNGqKIzl7gsfAgSxjxq2uyHw2dGp9UPT/o0KnCz2P2HPToiJ11baQMsPSCEJv0R5E=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <5bb00b3f0701240654x605fc73ah9e6206a01cca9cb5@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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <77e5896b0701240128g250dcf47l1e6254bdae4cb85b@xxxxxxxxxxxxxx> <5bb00b3f0701240654x605fc73ah9e6206a01cca9cb5@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
OK... I followed Mat's suggestion and added  a user "blah" to /etc/passwd file. When I tried to update its password, I got the following error:

[root@CTBhome]# passwd blah
Changing password for user blah.
passwd: Authentication token manipulation error

==

When I execute " pwconv", I get the following error:

[root@CTB home]# pwconv
pwconv: can't update shadow file

Christopher, I did't what you meant regarding "vipw', and then "cp -a /etc/skel/..".. could you explain?

Any more ideas gentlemen?

Cheers
Omer

On 1/24/07, Henning Sprang <henning_sprang@xxxxxx> wrote:
On 1/24/07, Omer Khalid <Omer.Khalid@xxxxxxx> wrote:
> Hi,
>
> I am running a VM with Xen 3.0.3. The domU OS is Scientific Linux 4 which is
> based on Red Hat Enterprise 4.4. I could deploy the virtual machine, and it
> runs all the services but I can't add new user. I get the following error:
>
> [root@CTB /]# uname -r
> 2.6.9-42.0.3.EL.cernxenU
> [root@CTB /]# adduser testuser
> adduser: cannot rewrite password file

Hmm, in some redhat or suse based vm, depending on how they were
installed, I needed to do a "pwconv" first, before being a ble to use
the passwd file correctly.

HTH
Henning



--
---------------------------------------------------------------
                                                                            
CERN – European Organization for Nuclear
IT Department,  CH-1211 Geneva 23, Switzerland

Phone: +41 (0) 22 767 7996
Fax:     +41 (0) 22 767 4900
E-mail : Omer.Khalid@xxxxxxx
Homepage: http://cern.ch/Omer.Khalid
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users