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

Added check to see if NVRAM entry for SIP exists #27

Closed
wants to merge 1 commit into from

Conversation

bp88
Copy link

@bp88 bp88 commented Dec 15, 2016

Previously you were checking only for csrutil status. However it is possible now that SIP has been reset (re-enabled) using the csrutil clear command, but that the computer has not been restarted. In that situation, the status will still show SIP as disabled, but if you check NVRAM you will see that there is no entry for "csr-active-config". This would indicate that SIP is set to be enabled after a restart. This is relatively new with 10.12.2.

https://onemoreadmin.wordpress.com/2016/12/13/system-integrity-protection-sip-changes-in-macos-sierra-10-12-2/

Previously you were checking only for `csrutil status`. However it is possible now that SIP has been reset (re-enabled) using the `csrutil clear` command, but that the computer has not been restarted. In that situation, the status will still show SIP as disabled, but if you check NVRAM you will see that there is no entry for "csr-active-config". This would indicate that SIP is set to be enabled after a restart. This is relatively new with 10.12.2.

https://onemoreadmin.wordpress.com/2016/12/13/system-integrity-protection-sip-changes-in-macos-sierra-10-12-2/
@rtrouton
Copy link
Owner

Closing, as PR now conflicts with current rev of script.

@rtrouton rtrouton closed this Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants