add support for --use-sudo-password to provide a password for sudo