i want to use ruby under UNIX for launching different apps under different users. how would i implement something like this let's say i create/launch a shell command from ruby like ssh user / local.com this will prompt the user for a password, and i would like a string variable to be executed when it prompts for the password.