saltstack/salt-cloud — pull request #730 by s0undt3ch (2013-08-17 02:01:47+00:00)
Title: Drop privileges to the salt-master user if need be. Fixes #726.

As soon as salt-cloud starts, either through CLI, or via API, if running as root, salt-cloud drops privileges to the salt-master root. If unable exits with a warning to what just happened.