Idea - Could I limit guest OS access in this manner
Posted: 26. Oct 2009, 04:26
I run a linux ubuntu host.
I want to put a guest OS in the following manner:
- any of my multiple host accounts can use the guest OS
- only one of my multiple host accounts can alter (write access) the guest OS
I did some quick research and am throwing in a few of my ideas. Could you tell me if this approach would work?
Assumptions:
- Place the hidden ".virtualbox...." folder and files in /home for the users. Their respective /home permissions would look like this: User: rwx Group: (the group permissions here wouldn't matter for this particular project, would it?)
- Place the actual vdi in a separate partition, separate folder, and have that owned by the user who can alter (write access) the guest OS. The permissions for this folder would be: User: rwx Group: r-x
- All host user accounts are in the same Group
Thus:
- Those with the hidden ".virtualbox..." folders and files could keep their own virtual machine configuration but still not alter the guest OS because
- Only one user "owns" the windows guest OS and those in his group lack "write" access
Would this work, or do I need to do more research and go back to the drawing board?
Thank you!
I want to put a guest OS in the following manner:
- any of my multiple host accounts can use the guest OS
- only one of my multiple host accounts can alter (write access) the guest OS
I did some quick research and am throwing in a few of my ideas. Could you tell me if this approach would work?
Assumptions:
- Place the hidden ".virtualbox...." folder and files in /home for the users. Their respective /home permissions would look like this: User: rwx Group: (the group permissions here wouldn't matter for this particular project, would it?)
- Place the actual vdi in a separate partition, separate folder, and have that owned by the user who can alter (write access) the guest OS. The permissions for this folder would be: User: rwx Group: r-x
- All host user accounts are in the same Group
Thus:
- Those with the hidden ".virtualbox..." folders and files could keep their own virtual machine configuration but still not alter the guest OS because
- Only one user "owns" the windows guest OS and those in his group lack "write" access
Would this work, or do I need to do more research and go back to the drawing board?
Thank you!