Page 1 of 1
Limit guest OS access?
Posted: 16. Aug 2009, 18:33
by cat2005
Assume I have a linux host with 3 different accounts and only 2 of the 3 have virtual box access.
1) No virtual box access
2) Yes virtual box access
3) Yes virtual box access
Assume I have 2 guest OS. I want user #2 to only access 1 guest OS and user #3 to access both guest OS.
Is this possible?
Re: Limit guest OS access?
Posted: 18. Aug 2009, 16:27
by vbox4me2
Yes by using groups and assigning proper rights to the xml folder(s) and VDI location(s).
Re: Limit guest OS access?
Posted: 19. Aug 2009, 03:30
by cat2005
vbox4me2 wrote:Yes by using groups and assigning proper rights to the xml folder(s) and VDI location(s).
I have a dumb followup question: Would this be done through your host OS or the Virtualbox console?
Re: Limit guest OS access?
Posted: 19. Aug 2009, 08:48
by TerryE
Host OS access control. It is quite trick to set up especially if your host OS allows multi-user log on. Basically you need to use the VBOX_USER_HOME env variable (see UG) so that the users all point to the same .VirtualBox hierarchy. You can use group membership and group access (or ACLs on Windows) to control if an individual user has access to a given VM. Probably the easiest way is to open everything to the three users apart from the VM directories. Note that if users attempts to access a "forbidden" VM then they error message that they will get will be somewhat confusing for them.
Re: Limit guest OS access?
Posted: 21. Aug 2009, 01:18
by cat2005
Hmm....I may try that when I get that far.
Thanks.