【问题标题】:cannot disable dtrace restrictions, nvram protection and debugging restrictions in SIP in El capitan无法在 El capitan 的 SIP 中禁用 dtrace 限制、nvram 保护和调试限制
【发布时间】:2016-01-31 12:11:46
【问题描述】:

我最近安装了 El Capitan。我已经在 el capitan 中成功启动了恢复模式,并从终端输入了csrutil disable 命令.....

重新启动,但即使经过多次尝试,它仍显示:

SIP protection enabled(Custom configuration)

Configuration:
Apple Internal: disabled
Kext Signing: disabled
Filesystem protection: disabled
Debugging restrictions: enabled
Dtrace restrictions: enabled
NVRAM Protections: enabled


This is an unsupported.......

我已经花了几个小时,但无法弄清楚问题。

为什么即使在 EL​​ Capitan 的恢复模式下键入 csrutil disable 后,我也无法禁用最后三个限制?

我尝试了多次,每次在恢复模式下发出 CSRutil 命令;它说 SIP 已成功禁用;重新启动以使更改生效....

但是当我检查 csrutil 状态时重新启动并登录到正常模式后:它只显示上述状态..

请帮忙

【问题讨论】:

    标签: osx-elcapitan


    【解决方案1】:

    可以在启用其他部分的同时禁用部分 SIP。

    如果您运行 csrutil status,即使在正常启动时,您也会看到它的组成部分。在启动到恢复模式时,可以通过运行以下命令之一来选择性地禁用其中的每一个:

    csrutil enable --no-internal
    csrutil enable --without kext
    csrutil enable --without fs
    csrutil enable --without debug
    csrutil enable --without dtrace
    csrutil enable --without nvram
    

    注意使用enable 而不是disable

    您可以通过如下构造命令来禁用两个或更多组件:

    csrutil enable --without kext --without debug

    【讨论】:

      【解决方案2】:

      禁用/重新启用:

      启动到恢复模式。

      1. 在启动时按住 +R,然后再启动到苹果徽标。
      2. 点击实用程序顶部。
      3. 点击终端。

      然后键入这些命令。

      要重新启用,只需简单地替换“禁用” 使用“启用”。


      禁用 NVRAM 保护

      csrutil disable --without nvram 
      

      禁用 DTRACE

      csrutil disable --without dtrace
      

      【讨论】:

        猜你喜欢
        • 2016-01-09
        • 2016-10-24
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2017-02-12
        • 2021-02-15
        • 2022-06-28
        相关资源
        最近更新 更多