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] ACL for DomUs

On Monday 30 April 2007 12:39:31 Steve Kemp wrote:
> On Mon, Apr 30, 2007 at 10:02:15AM +0200, Reinhard Brandst?dter wrote:
> > I'd need some basic features like allowing a certain user group to
> > start/stop/pause/unpause a domain (without giving them root access to the
> > dom0). Maybe also permissions to create new domains (within limits or
> > based on templates)...
>   I wrote a simple console-based shell to allow users to do that, and
>  also gain access to the serial console:
>     http://xen-tools.org/software/xen-shell

This looks pretty promising and of course I had to try it immediately.
If I understand the documentation right you have to add an 
xen_shell="username" to the domU configuration to allow a user to control 
this domU.

I did so and then launched xen-shell (or xen-login-shell) however the shell 
gives me some errors (doesn't understand most of the commands):

xen-shell v1.1.80 - type 'help' for help.
xen-shell> help
xen-shell v1.1.80

The following commands are available within this shell:

      boot - Boot the Xen guest.
   console - Gain access to a Xen guest via the serial console.
      exit - Exit the shell.
      help - Show general, or command-specific, help information.
    passwd - Change the password used to access this host.
      quit - Exit this shell.
    reboot - Reboot the Xen guest.
    serial - Gain access to the Xen guest via the serial console.
  shutdown - Shutdown the Xen guest.
    status - Show the status of the Xen guest.
       top - Show system resource usage.
    uptime - Show the uptime information of your guest system and this host.
   version - Show the version of this shell, and of Xen.

For command-specific help run "help command".

xen-shell> list
Unknown command: 'list' - type 'help' for help.
xen-shell> boot

  You have no selected a Xen instance to control, and this command
 applies to only one instance rather than all of them.

  You may use the following two commands:

    list    ->  Show which Xen instances you may control.

    control ->  Take control of the specified Xen instance.

If i use the 'top' command I get a list of all running domUs (when running the 
shell as root).


Xen-users mailing list

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