While I was trying to unload my nfsd
instance I found out that I cannot do it anymore.
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.nfsd.plist
/System/Library/LaunchDaemons/com.apple.nfsd.plist: Operation not permitted while System Integrity Protection is engaged
This behaviour was introduced with the Mac OS Sierra update 10.12.4.
How can I enable/disable the nfsd daemon?
Should I disable the System Integrity Protection, stop/start the service and enable the System Integrity Protection every time? And, if yes, how?
Best Answer
Firstly, you'll need to disable the "System Integration Protection":
How to Disable System Integrity Protection
And now, you'll be able to disable your "Notification Center":
And then, kill the current instance of "Notification Center":
When you reboot, isn't necessary to do that anymore...
I hope I've helped
PS: Don't forget, at this point your root user will have all permissions. I recommend to reboot into recovery mode one more time to enable your System Integration Protection: