Op dinsdag 22 september 2009 02:24:21 schreef Mikkel: > Umarzuki Mochlis wrote: > > 2009/9/22 Fábio Rabelo <[email protected]>: > >> And I can only run scripts on boot with root user .... > >> > >> So, how can I solve this ?? > > > > it depends on what command are you trying to run. Whether it needs > > root permission or not but VBoxHeadless doesn't not need to be run as > > root > > If you don't want it to run as root, you can use the su command. > Although most people use it to become root, you can use it to become > any user. ( su -c "VBoxHeadless --startvm ubuntu-server" - fabio ) > > I haven't checked if VBoxHeadless returns after starting the virtual > machine, or after you exit the virtual machine, so you may end up > needing a & after the command. > ( su -c "VBoxHeadless --startvm ubuntu-server &" - fabio ) > > Mikkel
Look at http://vboxtool.sourceforge.net for scripts that provide you the necessary tool to start several VMs not running as root. -- vr.gr. Freek de Kruijf _______________________________________________ vbox-users mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-users
