Use sudo if configured to do so.