Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sure! It's not very well organized (and may be out of date) but here's what I have:

### Commands

- Disable GateKeeper: `sudo spctl --master-disable` - Disable Library Validation: `sudo defaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation -bool true` - Remove app from quarantine: `sudo xattr -rd com.apple.quarantine [path to the app]`

https://stackoverflow.com/questions/64842819/cant-run-app-be...

`sudo chmod -R 755`

`codesign --force --deep --sign - /Applications/$app.app`

The following commands must be executed from recovery mode:

- Disable SIP: `csrutil disable` - Disable Apple Mobile File Integrity: `nvram boot-args="amfi_get_out_of_my_way=1"`

### Articles

https://www.naut.ca/blog/2020/11/13/forbidden-commands-to-li...

https://tinyapps.org/blog/202010210700_whose_computer_is_it....

https://eclecticlight.co/2020/06/25/big-surs-signed-system-v...

https://twitter.com/EBADTWEET/status/1275834759759818752



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: