如何矯正半殘的superuser - MAC

By Heather
at 2015-08-08T18:32
at 2015-08-08T18:32
Table of Contents
先聲明
這篇不是進階使用者可以直接左轉 這是給會動到系統的使用者的
根據消息指出 OS X 10.11以及 iOS 9將會把root 功能做限縮
這種作法叫做 System Integrity Protection
也就是說不管你是使用root帳號從開機時用GUI登入 還是用CLI各種shell登入root
抑或是輸入sudo指令都沒有用 能改的目前就是一些比較基本的資料夾
像是~/ 、 /usr/local/
其他像是/opt/ 、 /usr/ 都是不可以改的
用意是希望增進安全性 若是不小心裝到間諜軟體也不會通過
在iOS上也可以藉此增加JB的難易度(JB是想辦法加上root user 這樣蘋果是認為理論上
root 就給你裝 反正我讓你裝了了也沒用)
最明顯的例子就是現在磁碟工具程式已經沒有修復權限的選項了
因為根本不讓你改系統權限 也就不太需要修復 再加上每次更新會自動檢查就更沒問題
當然 如果想要 關掉這個protection也是可以的 方法也很簡單
重開機 按cmd+R 進入 恢復模式 -> 工具程式 -> 安全設定->
取消勾選 System Integrity Protection 然後重開機即可
參考:http://goo.gl/04b8rA
--
Tags:
MAC
All Comments

By Una
at 2015-08-09T14:10
at 2015-08-09T14:10

By Frederic
at 2015-08-13T16:14
at 2015-08-13T16:14

By Harry
at 2015-08-15T10:41
at 2015-08-15T10:41

By Wallis
at 2015-08-18T14:16
at 2015-08-18T14:16

By Oliver
at 2015-08-22T04:01
at 2015-08-22T04:01

By John
at 2015-08-24T15:54
at 2015-08-24T15:54

By Dinah
at 2015-08-28T22:05
at 2015-08-28T22:05
Related Posts
MplayerX強制丟幀?

By Delia
at 2015-08-08T17:11
at 2015-08-08T17:11
用nally welly上ptt 容易斷線

By Linda
at 2015-08-08T16:05
at 2015-08-08T16:05
幫新買mbpr13'選擇保護措施(有條列)

By Rosalind
at 2015-08-08T15:12
at 2015-08-08T15:12
Dock上日期錯誤

By Blanche
at 2015-08-08T15:07
at 2015-08-08T15:07
無法安裝驅動程式

By Megan
at 2015-08-08T14:44
at 2015-08-08T14:44