Possible Duplicate:
Running command-line application from PHP as specific user
I've got a script that I need to run from a PHP script, and it needs to be run as a specific user. It isn't a problem of permissions, it's that it runs 'screen' which needs to be accessible from the specified user.
I've tried using exec and sudo, however sudo asks for the password of www-data. Since I am not prompting for the password for www-data, instead for the specified user, this will not work.
Anyone know if this is possible?