Help with #!/usr/bin/perl

Mike Crawford mdcrawford at gmail.com
Sun Jun 17 05:53:52 UTC 2018


> I'm glad I don't have system integrity protection :-)

Even if you did have SIP, you can disable it as follows:

- Reboot
- Hold down the Option key until the boot menu appears
- Select the Recovery System
- Select Terminal from the Utilities menu
- # csrutil disable
- Reboot

When you're back in your normal macOS, verify that SIP is disabled:

  $ csrutil status

I expect that if you move perl aside then replace it with a symlink,
it would work to reenable SIP.  That is, I don't think SIP keeps
hashes of anything rather than it prevents certain system calls from
being used on certain files.


More information about the macports-users mailing list