pallet/pallet — Issue #107: Allow sudo to run as admin user
Author: kokaku
Created: 2011-12-24 13:25:52+00:00
State: open

Looking in execute.clj, sudo-cmd-for always calls sudo-no-password if no passsword is required. Can we have an option on the user that could be used there to also apply -u USER to the sudo command, allowing commands to be run as the specified user? (just an idea - probably there's a better way to approach the problem)