[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] console access to non root xen 3.0
Steve Brueckner wrote: Yes, the sudo based solutions can be used but I would be very happy if I should not give any kind of direct acces to my dom0 to my useres. So I very intrested for other solution when the console privider application (xencons, xm list etc.) runs in different host than dom0.Andrew Thompson wrote:On Wed, Apr 05, 2006 at 09:09:30AM +0200, Szalai Ferenc wrote:Hi, Is there any regular way to give console access to specified domU to not root user? How xen domain providers can solve this problem withxen 3.x?Unixshell provides console access to their customers via ssh on an alternate port(not 22). I know it can be done, I'm just not sure howthey're doing it.For my personal use, I use xm console as root. A couple of times I'vetried to figure out xencons, but didn't get any further than:xen ~ # man xencons No manual entry for xencons xen ~ # xencons --help /usr/bin/xencons <host> <port>If you mean local access (not via the network) then you can use sudo to give the user permission to execute 'xm console'. For access to a specific domU you'd also need to use a separate domU config file for that domain, and give the user additional sudo access to execute 'xm list.' Then you can write a little script the user can execute (but not write!) that will list running domU's, grep the results for the custom config file name, and awk the output line for that domain's Id. Finally, the script would call 'xm console <id>'. -- Regards, Ferenc _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |