run command as alternate user
I need to be able to run an arbitrary command as an arbitrary user without providing any feedback such as a password after the initial invocation. i've looked at su and sudo and runas but they seem like they won't accomplish what I need. I'm looking for something along the lines of
su -l mylogin -p myPassword -e "myProc"
any suggestions? Much thanks on this.
|