﻿{"id":739,"date":"2020-12-13T07:35:36","date_gmt":"2020-12-12T23:35:36","guid":{"rendered":"https:\/\/byy3.com\/?p=739"},"modified":"2021-02-08T19:01:37","modified_gmt":"2021-02-08T11:01:37","slug":"linux%e5%ae%89%e8%a3%85%e8%bf%90%e8%a1%8c%e6%b4%8b%e8%91%b1%e6%b5%8f%e8%a7%88%e5%99%a8torbrowser%e7%9a%84root%e7%94%a8%e6%88%b7%e6%97%a0%e6%b3%95%e8%bf%90%e8%a1%8ctor%e8%a7%a3%e5%86%b3%e5%8a%9e","status":"publish","type":"post","link":"https:\/\/byy3.com\/?p=739","title":{"rendered":"linux\u5b89\u88c5\u8fd0\u884c\u6d0b\u8471\u6d4f\u89c8\u5668torbrowser\u7684root\u7528\u6237\u65e0\u6cd5\u8fd0\u884ctor\u89e3\u51b3\u529e\u6cd5(The tor browser bundle should not be run as root )"},"content":{"rendered":"<p>\u5b89\u88c5\u65b9\u6cd5<\/p>\n<pre class=\"graf graf--pre\"><code>sudo apt install torbrowser-launcher \u63a8\u8350\u6b64\u65b9\u6cd5\u5feb\u6377 \u4e0d\u7528\u4f7f\u7528ln\u8f6f\u8fde\u63a5\n\u7136\u540e\u641c\u7d22tor\u8fd0\u884c\u70b9\u51fb\u5e76\u8fd0\u884ctor\uff0c\u4f1a\u81ea\u52a8\u4e0b\u8f7dtor\u6d4f\u89c8\u5668\u6838\u5fc3\u7a0b\u5e8f\u3002<\/code><\/pre>\n<p>\u4f7f\u7528 sudo find -name start-tor-browser \u5f97\u5230\u4e0b\u9762\u6587\u4ef6<\/p>\n<p>.\/root\/.local\/share\/torbrowser\/tbb\/x86_64\/tor-browser_en-US\/Browser\/start-tor-browser<\/p>\n<p>\u7136\u540e\u4f7f\u7528sudo nano \/root\/.local\/share\/torbrowser\/tbb\/x86_64\/tor-browser_en-US\/Browser\/start-tor-browser\u7f16\u8f91<\/p>\n<p>\u627e\u5230\u4e0b\u9762\u8bed\u53e5\u6ce8\u91ca\u6389\uff01<strong>\u4e00\u952e\u811a\u672c \u89e3\u51b3\u95ee\u9898<\/strong><\/p>\n<p>\uff08shell\u811a\u672csed -i '94,97d' \/root\/.local\/share\/torbrowser\/tbb\/x86_64\/tor-browser_en-US\/Browser\/start-tor-browser\uff09<\/p>\n<p>\u7f16\u8f91\u201cstart-tor-browser\u201d\u6587\u4ef6\uff0c\u627e\u5230\u4e0b\u9762\u8bed\u53e5\uff0c\u5220\u9664\u6216\u6ce8\u91ca\u6389\u5373\u53ef\u8fd0\u884c\uff1a<\/p>\n<div>\n<div id=\"highlighter_778788\" class=\"syntaxhighlighter php\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<div class=\"line number2 index1 alt1\">2<\/div>\n<div class=\"line number3 index2 alt2\">3<\/div>\n<div class=\"line number4 index3 alt1\">4<\/div>\n<div class=\"line number5 index4 alt2\">5<\/div>\n<div class=\"line number6 index5 alt1\">6<\/div>\n<div class=\"line number7 index6 alt2\">7<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"php plain\">#<\/code><code class=\"php keyword\">if<\/code> <code class=\"php plain\">[ \u201c<code>id -u<\/code>\u201d -eq 0 ]; then<\/code><\/div>\n<div class=\"line number2 index1 alt1\"><\/div>\n<div class=\"line number3 index2 alt2\"><code class=\"php plain\"># complain \u201cThe Tor Browser Bundle should not be run <\/code><code class=\"php keyword\">as<\/code> <code class=\"php plain\">root. Exiting.\u201d<\/code><\/div>\n<div class=\"line number4 index3 alt1\"><\/div>\n<div class=\"line number5 index4 alt2\"><code class=\"php plain\"># <\/code><code class=\"php functions\">exit<\/code> <code class=\"php plain\">1<\/code><\/div>\n<div class=\"line number6 index5 alt1\"><\/div>\n<div class=\"line number7 index6 alt2\"><code class=\"php plain\">#fi<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-740\" data-original=\"https:\/\/byy3.com\/wp-content\/uploads\/2020\/12\/2020121223313469.png\" src=\"https:\/\/byy3.com\/wp-content\/themes\/MNews%20V2.4\/images\/post-loading.gif\" width=\"1523\" height=\"875\" title=\"linux\u5b89\u88c5\u8fd0\u884c\u6d0b\u8471\u6d4f\u89c8\u5668torbrowser\u7684root\u7528\u6237\u65e0\u6cd5\u8fd0\u884ctor\u89e3\u51b3\u529e\u6cd5(The tor browser bundle should not be run as root )\u63d2\u56fe\" alt=\"linux\u5b89\u88c5\u8fd0\u884c\u6d0b\u8471\u6d4f\u89c8\u5668torbrowser\u7684root\u7528\u6237\u65e0\u6cd5\u8fd0\u884ctor\u89e3\u51b3\u529e\u6cd5(The tor browser bundle should not be run as root )\u63d2\u56fe\" \/><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5b89\u88c5\u65b9\u6cd5 sudo apt install torbrowser-launcher \u63a8\u8350\u6b64\u65b9\u6cd5\u5feb\u6377 \u4e0d\u7528\u4f7f\u7528l [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,1,21],"tags":[471,204,200,353,205,199,201,203,202],"class_list":["post-739","post","type-post","status-publish","format-standard","hentry","category-linux","category-net-security","category-script","tag-js-bat","tag-linux-root-tor","tag-linuxtor","tag-linux","tag-roottor","tag-tor-browser","tag-tor","tag-203","tag-202"],"_links":{"self":[{"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/posts\/739","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=739"}],"version-history":[{"count":0,"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/posts\/739\/revisions"}],"wp:attachment":[{"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=739"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=739"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}