There are two ways:
1. Delete this file
/system/library/usereventplugins/applehidhouseagent.plugin/contents/macos/appleh idmouseagent
2. The terminal uses the following commands:
CD/system/library/usereventplugins
sudo MV com.apple.cts.plugin com.apple.cts.plugin.disabled
sudo shutdown – r now
The second solution I used has been solved
Mac operation not permitted
It is found that El Capitan (10.11) has joined the rootless mechanism, and many system directories can no longer read and write at will, even if the root permission is set
The following paths cannot be written and executed
/System
/bin
/sbin
/usr (except /usr/local)
Join this mechanism is mainly to prevent the invasion of malicious programs, more we can see the official website
https://developer.apple.com/videos/play/wwdc2015/706/
How to close
Restart and press Command + R to enter recovery mode and open terminal
csrutil disable
How to open
Restart and press Command + R to enter recovery mode and open terminal
csrutil enable