matschaffer/knife-solo — pull request #256 by searlm (2013-06-12 11:59:51+00:00)
Title: Adding option to use custom remote 'sudo' command

I don't know if this will be useful to anyone else, but I added an option to ssh_command (`-S` or `--sudo-command`) that bypasses sudo detection and uses the supplied string instead. I'm using this to provision SmartOS/Solaris servers that use pfexec for admin privileges instead of sudo.