You can also temporarily disable SIP the following way
- reboot
- as soon as you hear the “Mac sound” on the grey screen, press Cmd+R to enter Recovery mode
- Open Utilities->Terminal
- Run the command
csrutil disable
- Reboot, you’ll land in the normal OS with SIP disabled
- do all the changes you’d like to do
- Reboot again
- as soon as you hear the “Mac sound” on the grey screen, press Cmd+R to enter Recovery mode
- Enable SIP with
csrutil enable
- Reboot again
- done