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: "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:27:47 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 24 Jan 2007 06:28:07 -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=QfxzxkvHz5tCydiloY73/xOLOf9bkmq3H00P5BgPT2mRJPv5RwZtobOVAeziIZnm1SMSdOmCyXBhJLCGU16OkGr0054ahFkLHm2QE7mmh5lCLujhx1ESDLuOtPJ1FP9VqC0dsvjMVCFtJ8QHcG5WnKjBu9v3JVoP3BKnaUnP/uc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B018E18CB@xxxxxxxxxxxxxxxxx>
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: <77e5896b0701240456je888558ha5b3a0a7e712c99b@xxxxxxxxxxxxxx> <907625E08839C4409CE5768403633E0B018E18CB@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello Mat,

I do have the write access with my VM. I can create files and directories...

Its just the users I can't add...

Any more ideas that could it be some thing my VM's LVM partition is mounted/created or could there be some thing to do with the image creation process for the VM?

Cheers
Omer

On 1/24/07, Petersson, Mats <Mats.Petersson@xxxxxxx> wrote:
> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx ] On Behalf Of
> Omer Khalid
> Sent: 24 January 2007 12:57
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Fwd: [Xen-users] Can't add a user to Xen 3.0.3 VM !
>
>
>
> ---------- Forwarded message ----------
> From: Omer Khalid <Omer.Khalid@xxxxxxx>
> Date: Jan 24, 2007 1:56 PM
> Subject: Re: [Xen-users] Can't add a user to Xen 3.0.3 VM !
> To: Tomasz Chmielewski <mangoo@xxxxxxxx>
>
> Hello Tomasz,
>
> Here is the output for the lsattr command:
>
> [root@CTB- ~]# lsattr /etc/passwd /etc/shadow /etc/group
> ------------- /etc/passwd
> ------------- /etc/shadow
> ------------- /etc/group

That looks the same as on my machines.

As to Xen preventing the creation of users, I don't believe so - since
Xen doesn't actually KNOW anything about users, or about the files that
are involved (or any OTHER files, for that matter). Xen can't affect
things it doesn't know about, right? [Other than as a side-effect, but
that would be much more likely to be random crashes or other spurious
errors, rather than this partiuclar effect]. [Note that adduser is just
writing something in /etc/passwd - you can edit that with a text-editor
if you like, in fact that's how you USED to add users to Linux/Unix
machines many years back].

How about creating a directory on /home, can you do that?

I just added a user "blah" to my Xen-based machine without any problem.

--
Mats
>
> Cheers
> Omer
>
>
> On 1/24/07, Tomasz Chmielewski < mangoo@xxxxxxxx
> <mailto:mangoo@xxxxxxxx > > wrote:
>
>       Omer Khalid wrote:
>       > Hello Tomasz,
>       >
>       > Yes, I could create and write to files. I think its
> some thing to do
>       > with xen kernal rather!
>       >
>       > Any more ideas?
>
>       lsattr /etc/passwd /etc/shadow /etc/group
>
>       ?
>
>       --
>       Tomasz Chmielewski
>       http://wpkg.org
>
>
>
>
>
> --
> ---------------------------------------------------------------
>
>
> 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 <mailto:Omer.Khalid@xxxxxxx >
> Homepage: http://cern.ch/Omer.Khalid
>
>
> --
> ---------------------------------------------------------------
>
>
> 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 <http://cern.ch/Omer.Khalid>
>





--
---------------------------------------------------------------
                                                                            
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