I have an interesting problem. I'm creating a simple web interface to control my running VMs under Linux. VirtualBox runs as a user and Apache is set up to run as the same user. If I execute the whoami command from php it returns the users name. My php script can also write to the users directory telling me that it is in fact running as the user. Problem is VBoxManage doesn't act like it's being executed as the user.
If I execute VBoxManage list runningvms as root I get VirtualBox Command Line Management Interface Version 1.6.6 (C) 2005-2008 Sun Microsystems, Inc. All rights reserved. If I run VBoxManage as the user that started the VMs I get VirtualBox Command Line Management Interface Version 1.6.6 (C) 2005-2008 Sun Microsystems, Inc. All rights reserved. af65cb2c-60c4-4530-e380-f96455e554b3 If I run VBoxManage list runningvms from the php script of apache running as the user I get VirtualBox Command Line Management Interface Version 1.6.6 (C) 2005-2008 Sun Microsystems, Inc. All rights reserved. It seems to me that VBoxManage is not running as the user even though the whoami command says Apache is. I had php call the yes command to keep it busy for a while and checked with ps -Af and it says the yes command is running as the user. Is VBoxManage seeing something that I'm not? Maybe there's something about how Apache runs that keeps it from REALLY running as the user? Grant McWilliams Some people, when confronted with a problem, think "I know, I'll use Windows." Now they have two problems.
_______________________________________________ vbox-users mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-users
