1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Macでsudoが効かない

Last updated at Posted at 2019-01-24

原因

MacでsudoができないのはSystem Integrity Protectionが有効になっているため。

対策

自己責任で以下を実施。

  1. Macをreboot

  2. 立ち上がるときに command + R を押しっぱなしにして Recovery OSを起動。

  3. ターミナルを起動

  4. SIPをdisableにする。

    csrutil disable
    

最後にMacをreboot

エラーメッセージ

csrutil: failed to modify system integrity configuration. This tool needs to be executed from the Recovery OS.

環境

 ~ % sw_vers
ProductName:	Mac OS X
ProductVersion:	10.15.6
BuildVersion:	19G73
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?