Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bootstrap_guest.sh => disable system integrity protection on OS X 10.11 #14

Open
rodionovd opened this issue Jun 20, 2015 · 1 comment
Assignees
Labels

Comments

@rodionovd
Copy link
Owner

There's a new thing in OS X 10.11 called SIP (system integrity protection) aka «Rootless». Basically it takes all privileges away from root: you can no longer write to protected system locations, modify system files and so on.

That's no good for us, and right now we have an ability to disable it on 10.11 machines with the new boot argument:

$ sudo nvram boot-args="rootless=0"

Although Apple may (and they are going to) remove this argument in a release version of the OS. Let's just hope that there will be a workaround we could use.

Resources

@rodionovd rodionovd self-assigned this Jun 20, 2015
@rodionovd rodionovd added this to the end-term milestone Jun 22, 2015
@rodionovd rodionovd removed this from the end-term milestone Jul 5, 2015
@rodionovd rodionovd added maybe and removed musthave labels Jul 8, 2015
@deadbits
Copy link

Haven't seen any movement on this but figured I'd chime in JIC. On newer versions of OS X, where that^ command has been removed, you can disable SIP like this:

  • Reboot OS X into Recovery mode
    • Reboot system while holding cmd+r keys
  • Click the Utilities navigation menu
  • Select/Open the Terminal application within this menu
    • Within Terminal, run the command csrutil disable && reboot

After reboot, SIP is disabled and you have real root access again. To reverse this, simply do the same thing but run csrutil enable, and to verify it's worked or its current state from the OS X terminal just run csrutil status and it'll spit out if SIP is enabled or not.

Hope this can be of use

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants