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] Username Parameter in the Xen Config File

To: Stefan de Konink <skinkie@xxxxxxxxx>
Subject: Re: [Xen-users] Username Parameter in the Xen Config File
From: Christian Horn <chorn@xxxxxxxxxxxx>
Date: Wed, 10 Oct 2007 21:53:48 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 10 Oct 2007 12:54:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <470D2634.80205@xxxxxxxxx>
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: <77e5896b0710100711h7125ae7ap4406b84b8b369656@xxxxxxxxxxxxxx> <20071010142001.GA22168@xxxxxxxxxxxx> <470D2634.80205@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Wed, Oct 10, 2007 at 09:21:24PM +0200, Stefan de Konink wrote:
> Christian Horn schreef:
> > On Wed, Oct 10, 2007 at 04:11:47PM +0200, Omer Khalid wrote:
> >> We have X number of users for our test bed, and for the moment we have kept
> >> their SSH keys in the /root/.ssh/authorized_keys file on the images. Now we
> >> would like to restrict access to the user who deployed the virtual machine.
> >> I am wondering if it's possible to pass some kind of shell script or 
> >> another
> >> username parameter in the xen configuration file to execute when the image
> >> boots up.
> > 
> > Sounds like a job for xen-shell: 
> > http://www.xen-tools.org/software/xen-shell/
> 
> That idea is nice, but isn't it strange Xen has no native support for
> this. So a form of limits per allowed user?

Maybe what you want could be done by adding the parameter 'extra' with some
value to your usual call of 'xm create <xen-config>'.
That could later get evaluated by a bootscript in the domU, the 'value' from
above will come up in /proc/cmdline there.

Christian

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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