Automate entering password for sudo command