All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Iordan Iordanov <iordan@cdf.toronto.edu>
Cc: kvm@vger.kernel.org
Subject: Re: restricting users to only power control of VMs
Date: Thu, 09 Jun 2011 11:14:57 +0300	[thread overview]
Message-ID: <4DF08101.5070100@redhat.com> (raw)
In-Reply-To: <4DEFBB15.9080307@cdf.toronto.edu>

On 06/08/2011 09:10 PM, Iordan Iordanov wrote:
> Hi,
>
> As the subject suggests, we are wondering whether there is any way to 
> restrict certain classes of users from performing any action other 
> than powering a VM up and down, and resetting it?
>
> If this can't be done with KVM, does anybody have suggestions on how 
> this can be accomplished? The only way I can think of is with a setuid 
> binary that can only start VMs and send reset and shutdown commands to 
> its monitor socket. However, this does seem hackish and can be 
> insecure if it's not written perfectly.

It's a job for the management layer; I think it should be easy to script 
libvirt to do this.

-- 
error compiling committee.c: too many arguments to function


  reply	other threads:[~2011-06-09  8:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-08 18:10 restricting users to only power control of VMs Iordan Iordanov
2011-06-09  8:14 ` Avi Kivity [this message]
2011-06-21 21:45   ` Iordan Iordanov
2011-06-22  8:00     ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DF08101.5070100@redhat.com \
    --to=avi@redhat.com \
    --cc=iordan@cdf.toronto.edu \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.