use sudo -n to prevent prompting not -p