Use sudo-pw function to avoid password prompts.