Hacker News new | ask | show | jobs
by Wowfunhappy 38 days ago
But that's exactly what `sudo spctl --master-disable` does! You'll still see a warning dialog on first launch.
2 comments

So you don't lose any of the protections, just are allowed the option of running anyway (or backing out and NOT running it after getting the warning)?
I don’t understand what you mean by “protection”. The “protection” offered by Gatekeeper is that you aren’t able to run unsigned software without going into System Preferences. That’s it. There isn’t some other secret sauce.

Without Gatekeeper, macOS will instead pop up a dialog warning you that the application was downloaded from the internet, and provide an option to run it anyway, on first launch.

That’s good to know, but the spelling of the command is incredibly user hostile, even by modern apple standards.
> the spelling of the command is incredibly user hostile

Well the command is spctl, so I assume it stands for (s) Security (p) Policy (ctl) Control.

I agree that "ctl" for "control" is a bit weird but it's a pretty typical Unix convention: pfctl, networkctl, systemctl, etc.