Detect when sudo doesn't require a password