“restricted” folder/files in OS X El Capitan

后端 未结 7 1219
刺人心
刺人心 2020-11-28 21:00

After upgrading from OS X Yosemite to OS X El Capitan Developer Preview, I tried to edit /System/Library/LaunchDaemons/ssh.plist to change the default SSH

7条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-28 21:39

    You can also temporarily disable SIP the following way

    1. reboot
    2. as soon as you hear the "Mac sound" on the grey screen, press Cmd+R to enter Recovery mode
    3. Open Utilities->Terminal
    4. Run the command csrutil disable
    5. Reboot, you'll land in the normal OS with SIP disabled
    6. do all the changes you'd like to do
    7. Reboot again
    8. as soon as you hear the "Mac sound" on the grey screen, press Cmd+R to enter Recovery mode
    9. Enable SIP with csrutil enable
    10. Reboot again
    11. done

提交回复
热议问题