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] Xen and Enomaly

To: Olivier LAMBERT <lambert.olivier@xxxxxxxxx>
Subject: Re: [Xen-users] Xen and Enomaly
From: Grant McWilliams <grantmasterflash@xxxxxxxxx>
Date: Fri, 11 Sep 2009 13:49:19 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Longina Przybyszewska <longina@xxxxxxxxxxxx>
Delivery-date: Fri, 11 Sep 2009 13:50:27 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=giuLJXo+CA9Ws46VuS0Oiy/mGple5xsSgkIXMvIiqm0=; b=B2LpMI8q1SKmj12vrF/dXM+w5kwz/SUBNMBrAIqiWO9Yu/vYesMcAuzoqc2H5YSQYL m+MenZzQFbA9DfInHGffm5v3xDS/FqmfeEt/2Fp9CeSkf/+KJKWbvUN7ZpjAKHill/wf GGkGGZjOHHJh9Exesqbo2TejVNJ7fnmGOZpSY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=TDJKeDoyAlUjBHW9rUEp2EcfQ/7R3493xcwLrh8UtmrxFsZDaOARiN4tQluR40KMAR VT4dk/oL275AXkfTHy+f7pmLUHbGoVjEiEbSSAYiRVfMdc0nTeAHUoVfD0vrvfSNYI4l 7dJ32npkhnBQne/qmIZnlD4sVfqsHTX6u89gE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f769216c0909110757x318ad857mbf5dce4c1a3f6a7f@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: <4AA91F4E.8040802@xxxxxxxxxx> <713d03b70909100852r8622054s1b19354ed2c6cc2c@xxxxxxxxxxxxxx> <6b7f6eb0909101913n5ce79628vaf6834a8a9a4e9bc@xxxxxxxxxxxxxx> <4AA9B495.5000708@xxxxxxxxxxxx> <6b7f6eb0909101944k7ecf3fbbwb9898d155a2b5667@xxxxxxxxxxxxxx> <alpine.DEB.2.00.0909111034220.15582@xxxxxxxxxxxxxxxxxxxx> <f769216c0909110201n2d052cfas7455b036ba70525b@xxxxxxxxxxxxxx> <f769216c0909110526h42fb80f2y9e61331617bb44b6@xxxxxxxxxxxxxx> <ed123fa30909110742p38b5c688l54a27533d22eeef8@xxxxxxxxxxxxxx> <f769216c0909110757x318ad857mbf5dce4c1a3f6a7f@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

So, no root or other stuff like that. In my case, I choose to make
things simple : just an htaccess (so far).

With the API, you've got access to the entire Xen daemon, but I think
it's not so hard to restrict an user to a VM (or more). It's "just" an
added layer, can be interfaced with ldap, mysql or pgsql database,
with adaquates informations on users.

For your "feature request", I think I'll do, but in a first time, my
goal is to admin Xen easily. But ASAP, I'll try to respond to your
And as it's a open source project, everyone can contribute, so.. more
we are, more the project will be great :)


So currently you're using .htaccess to limit who can connect and control the VMs but if I understand you there's no limit what that person can do?
If Bob (we like calling him Bob) logs into Orchestra he can restart ALL VMs? I don't know if this helps me any since I could just grant people sudo access to the xm command.

If however you set it up so there's a database table that lists access rights and when creating a VM you assign admins to it this would be ideal. If Bob logs in your code would look up the database record to see what bob could do and restrict his actions to his own VM. Like you said I don't think this would be difficult code but for my project definitely needed. It's already very easy to start/stop domUs. I could set up a web page in about 30 seconds that does the same thing (locally) without even using the API. I realize this is not what you're doing and that the project will grow but I'm hoping that this will be a feature you add fairly soon or I can if I have time. If I don't have that then it's no more useful than what I have now. :-)

Grant McWilliams.
Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>