{"id":17244,"date":"2020-04-08T09:55:33","date_gmt":"2020-04-08T00:55:33","guid":{"rendered":"http:\/\/seigi.accsnet.ne.jp\/sigh\/blog\/?p=17244"},"modified":"2021-12-17T14:42:10","modified_gmt":"2021-12-17T05:42:10","slug":"rootless","status":"publish","type":"post","link":"https:\/\/nbsigh2.com\/?p=17244","title":{"rendered":"Rootless"},"content":{"rendered":"<p>OS X 10.11 El Capitan \u4ee5\u964d\u3001\/System\u3001\u3000\/bin\u3001\u3000\/usr\u3001\u3000\/sbin\u3000\u306e\u6a29\u9650\u306f\u30ab\u30b9\u30bf\u30e0\u30a2\u30af\u30bb\u30b9\u6a29\u3068\u306a\u3063\u3066\u3044\u3066\u3001root \u3067\u3082\u66f8\u304d\u63db\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u3002\u901a\u79f0\u3000Rootless\u3001\u6b63\u3057\u304f\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u6574\u5408\u6027\u4fdd\u8b77\u6a5f\u80fd\uff08SIP: System Integrity Protection\uff09\u3068\u3044\u3046\u3002\u4e0a\u8a18\u306edirectory\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u3000\u60c5\u5831\u3092\u898b\u308b\u3000\u3092\u5b9f\u65bd\u3059\u308b\u3068\u30ab\u30b9\u30bf\u30e0\u30a2\u30af\u30bb\u30b9\u6a29\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3068\u8868\u793a\u3055\u308c\u308b\u3002<br \/>\n\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u7acb\u3061\u4e0a\u3052\u3000csrutil status\u3000\u3068\u5165\u529b\u3059\u308b\u3002<\/p>\n<blockquote><p>System Integrity Protection status: enabled.<\/p><\/blockquote>\n<p>\u3068\u8fd4\u3063\u3066\u304f\u308b\u3002root \u3067\u3082\u5909\u66f4\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u3002<\/p>\n<p>\u3053\u308c\u3092\u89e3\u6d88\u3059\u308b\u3002<br \/>\n\u518d\u8d77\u52d5\u3057\u3002\u8d77\u52d5\u6642\u306b\u3000command+R \u3092\u62bc\u3057\u3066\u3001MacOS\u5fa9\u5143\u30c7\u30a4\u30b9\u30af\u304b\u3089\u8d77\u52d5\u3059\u308b\u3002<br \/>\n\u30e1\u30cb\u30e5\u30fc\u306e\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u8d77\u52d5\u3059\u308b<br \/>\ncsrutil disable<br \/>\n\u3068\u5165\u529b\u3059\u308b\u3002\uff08\u6709\u52b9\u5316\u3059\u308b\u305f\u3081\u306b\u306f\u3000csrutil enable\u3000\uff09<\/p>\n<blockquote><p>Successfully disabled System Integrity Protection. Plsase restart the machine for the changes to take effect.<\/p><\/blockquote>\n<p>\u672c\u6765\u306eOS\u306eHDD\u304b\u3089\u8d77\u52d5\u3059\u308b\u3002<br \/>\n\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u7acb\u3061\u4e0a\u3052\u3000csrutil status\u3000\u3068\u5165\u529b\u3059\u308b<\/p>\n<blockquote><p>System Integrity Protection status: disabled.<\/p><\/blockquote>\n<p>\u3068\u8fd4\u3063\u3066\u304d\u305f\u3089\u304a\u3057\u307e\u3044\u3002root \u3067\u4e0a\u8a18directory\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u64cd\u4f5c\u3067\u304d\u308b\u3002<\/p>\n<p>\u305d\u308c\u3067\u3082\u3067\u304d\u306a\u3044\u3068\u8a00\u3063\u3066\u304d\u305f\u3089<br \/>\nsh-3.2# mount -uw \/<br \/>\nsh-3.2# killall Finder<br \/>\n\u3092\u5b9f\u884c\u3057\u3066Finder\u3092\u30ea\u30bb\u30c3\u30c8\u3059\u308c\u3070\u3044\u3044\u3002<\/p>\n<p>\u306a\u3093\u304b\u3001\u308f\u3059\u308c\u3061\u3083\u3063\u3066\u3044\u3066\u3001sudo \u3067\u3082\u3067\u304d\u306a\u3044\u306a\u3093\u3066\u8fd4\u3063\u3066\u304f\u308b\u3068\u3001\u3069\u3046\u3057\u3066\uff1f\u3068\u306a\u3063\u3061\u3083\u3046\u3093\u3060\u3088\u306d\u3002\u3082\u3046\u8133\u306e\u8a18\u61b6\u306e\u5f15\u304d\u51fa\u3057\u304c\u6ea2\u308c\u3066\u3044\u308b\u304b\u3089\u3057\u3087\u3046\u304c\u306a\u3044\u3002\u3042\u3068\u306f\u8ab0\u304b\u306e\u3088\u3046\u306a\u8a8d\u77e5\u75c7\u307e\u3063\u3057\u3050\u3089\u3060\u306a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OS X 10.11 El Capitan \u4ee5\u964d\u3001\/System\u3001\u3000\/bin\u3001\u3000\/usr\u3001\u3000\/sbin\u3000\u306e\u6a29\u9650\u306f\u30ab\u30b9\u30bf\u30e0\u30a2\u30af\u30bb\u30b9\u6a29\u3068\u306a\u3063\u3066\u3044\u3066\u3001root \u3067\u3082\u66f8\u304d\u63db\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u3044\u3002\u901a\u79f0\u3000Rootless\u3001\u6b63\u3057\u304f\u306f\u30bb\u30ad &hellip; <a href=\"https:\/\/nbsigh2.com\/?p=17244\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">Rootless<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-17244","post","type-post","status-publish","format-standard","hentry","category-3"],"_links":{"self":[{"href":"https:\/\/nbsigh2.com\/index.php?rest_route=\/wp\/v2\/posts\/17244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nbsigh2.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nbsigh2.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nbsigh2.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/nbsigh2.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=17244"}],"version-history":[{"count":1,"href":"https:\/\/nbsigh2.com\/index.php?rest_route=\/wp\/v2\/posts\/17244\/revisions"}],"predecessor-version":[{"id":20170,"href":"https:\/\/nbsigh2.com\/index.php?rest_route=\/wp\/v2\/posts\/17244\/revisions\/20170"}],"wp:attachment":[{"href":"https:\/\/nbsigh2.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nbsigh2.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17244"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nbsigh2.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}