←back to thread

2603 points mattsolle | 6 comments | | HN request time: 0.245s | source | bottom
1. rubatuga ◴[] No.25075246[source]
Does anybody now how to disable all hashing on macOS? The best I could do was disable GateKeeper with `sudo spctl --master-disable`.
replies(2): >>25075356 #>>25075912 #
2. LeoNatan25 ◴[] No.25075356[source]
You can also disable code signing enforcement and amfi by adding the following boot args:

cs_enforcement_disable=1 amfi_get_out_of_my_way=1

replies(2): >>25075600 #>>25075648 #
3. Wowfunhappy ◴[] No.25075600[source]
Would anyone be able to explain more specifically how cs_enforcement_disable is is different from disabling Gatekeeper?
replies(1): >>25085683 #
4. rubatuga ◴[] No.25075648[source]
Thanks, you can also disable library code signing validation too:

`sudo defaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation -bool true`

5. staz ◴[] No.25075912[source]
Install another OS? *

There are some work around in this thread but in reality you don't know how and when Apple may choose to automatically re-enable it without your consent.

* You should probably just smack you Mac with a rock just to be sure ;)

6. saagarjha ◴[] No.25085683{3}[source]
I believe GateKeeper only works on first launch.