saltstack/salt — pull request #550 by archtaku (2012-01-20 08:37:41+00:00)
Title: Added ability to run command as another user

This change introduces an additional argument to several of the "run" commands, allowing them to be run as a user other than the one under which the minion is running. It is designed with the future goal of running salt in user space in mind, gracefully returning when unable to setuid.