| To: | Derrik Pates <demon@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [Xen-users] User access to "xm console" |
| From: | Anand <xen.mails@xxxxxxxxx> |
| Date: | Mon, 2 Jan 2006 18:34:36 +0530 |
| Cc: | Andy Smith <andy@xxxxxxxxxxxxxx>, xen-users <xen-users@xxxxxxxxxxxxxxxxxxx> |
| Delivery-date: | 2006年1月02日 13:09:36 +0000 |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=WKaz9/AeT1tIKcQgF4NiwMZdcKKLkl2+8osiP9n/SFYAi9TAAOCTwx6rmSi+CFv7B/0FtPyUpY0FuczKzcced++KZHd6IMq7PENQQ7addqU/lkqIycjyvYRAfPizWU//NpJUnofU1qXzp4SIXuJV56tBRtHUiqQxC/gTJEseEPI= |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxxx |
| In-reply-to: | <43B8C51E.5070308@xxxxxxxxxxxxx> |
| 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: | <20060102052545.GB7017@xxxxxxxxxxxxxx> <43B8C51E.5070308@xxxxxxxxxxxxx> |
| Sender: | xen-users-bounces@xxxxxxxxxxxxxxxxxxx |
I've gone to the length of adding code to my custom domU provisioning
script to set up a plain user for each created domain, with the GECOS
field containing the full name of the domain to attach to. Each of them
is a member of a group (I call it 'vscons'). I assign these users a
shell of /usr/local/bin/xencons-sh, which contains the following:
#!/bin/bash
/usr/sbin/xm console $(getent passwd $(id -u) | cut -d ':' -f 5)
That way, the users in question can't do anything other than attach to
the console of their Xen instance, and disconnection means immediate logout.
Keep in mind that Xen 3 requires a different script, as the domU
consoles are done quite differently than they were in 2.0.x.
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Xen-users] User access to "xm console" , Anand |
|---|---|
| Next by Date: | Re: [Xen-users] xend http interface , Anand |
| Previous by Thread: | Re: [Xen-users] User access to "xm console" , Derrik Pates |
| Next by Thread: | Re: [Xen-users] User access to "xm console" , Derrik Pates |
| Indexes: | [Date] [Thread] [Top] [All Lists] |