check if sudo password is correct