fabric/fabric — Issue #564: Allow override of which sudo binary is used
Author: bitprophet
Created: 2012-02-18 04:38:15+00:00
State: open
Labels: 1.x, Core, Feature, Quick

**Problem:** User doesn't actually have `sudo` in their remote `$PATH`, so `sudo()` calls fail as we assume it is in `$PATH`.

**Solution:** Other than ugly workarounds to modify the path (eg updating `env.shell` in some fashion) or requiring the user to modify remote shell dotfiles, this should be a configurable option users may override. Obviously defaulting to just `"sudo"` since that's what it does now and hardcoding an absolute path could break for some users.