On Wed, May 11, 2011 at 8:00 PM, James Frost <[email protected]> wrote:

> The problem is that the 'www-data' user can't execute the vboxmanage
> command.
>
> does anyone happen to know how to get started with php and vboxmange in
> linux?
>

The Apache web server runs as a non-root for security reasons, any commands
you run from a script from the web server will run as the same user.  You
want to run your vboxmanage commands as super user to have sufficient
privilege.

Refer to the 'sudo' command:   http://linux.die.net/man/8/sudo

You should be able to configure it to allow you to execute the vboxmanage
command as superuser when running as the 'www-data' user.

Brett
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community

Reply via email to