Force apache to run as another account
First off let me explain.
I have a server running Apache on it called `chicken`. On this box I have an account that is called `huser`. `Huser` has a one way ssh key to another server called `dog`. I want to be able to click a button on a webpage on the `chicken` server and have a command run from `huser` to the `dog` server. I have set up the application correctly however when I run a command on a webpage Apache tries to connect to the `dog` server. This is what I don't want to happen. `huser` is not an admin account and has very little control over Apache. I want Apache to connect to the `huser` account and run the commands. How can I do this? Is there something in the config file I need to set up?