{"id":187,"date":"2023-06-05T13:08:46","date_gmt":"2023-06-05T05:08:46","guid":{"rendered":"http:\/\/pro369.com\/linux\/?p=187"},"modified":"2020-10-29T06:23:00","modified_gmt":"2020-10-28T22:23:00","slug":"%e3%80%90%e6%8a%80%e8%a1%93%e5%9b%9e%e8%a6%86%e3%80%91wrong-permissions-on-configuration-file-should-not-be-world-writable-%e8%a7%a3%e6%b1%ba%e4%b9%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/por.tw\/linux\/%e3%80%90%e6%8a%80%e8%a1%93%e5%9b%9e%e8%a6%86%e3%80%91wrong-permissions-on-configuration-file-should-not-be-world-writable-%e8%a7%a3%e6%b1%ba%e4%b9%8b%e6%96%b9%e6%b3%95\/","title":{"rendered":"\u3010\u6280\u8853\u56de\u8986\u3011Wrong permissions on configuration file, should not be world writable! \u89e3\u6c7a\u4e4b\u65b9\u6cd5"},"content":{"rendered":"<p><strong><strong>\u3010\u6280\u8853\u56de\u8986\u3011Wrong permissions on configuration file, should not be world writable! \u89e3\u6c7a\u4e4b\u65b9\u6cd5<\/strong><\/strong><\/p>\n<p><span style=\"color: #ff00ff; font-size: large;\">\u5b78\u54e1\u4f86\u4fe1\u554f\u9053\uff1a<\/span><br \/>\n\u60f3\u5728\u7db2\u7ad9\u4e3b\u6a5f\u4e0b\uff0c\u591a\u589e\u52a0 phpmyadmin \u7248\u672c\uff08\u89e3\u6c7a\u8cc7\u6599\u5eab\u7ba1\u7406\uff0c\u767c\u751f\u4e82\u78bc\u7684\u554f\u984c\uff09\u6642<\/p>\n<p><strong>\u5728\u7db2\u9801\u5f62\u5f0f\u4e0b(phpmyadmin)\u700f\u89bd\u8cc7\u6599\u5eab\u6642\uff0c\u6709\u6642\u5019\u6703\u51fa\u73fe\u932f\u8aa4\uff1a<br \/>\n<span style=\"color: #800080;\">\u4f8b\u5982\uff1a<\/span><span style=\"color: #0000ff;\">http:\/\/\u7db2\u5740\u6216IP\/<\/span><\/strong><strong><strong><span style=\"color: #0000ff;\">phpmyadmin<\/span><\/strong><\/strong><\/p>\n<p><strong>\u51fa\u73fe\uff1a<span style=\"color: #ff00ff;\">Wrong permissions on configuration file, should not be world writable!<\/span> \u8b66\u8a9e<br \/>\n\u8acb\u554f\u7e3d\u6559\u982d\u8a72\u5982\u4f55\u8655\u7406\uff1f<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/visdacom.com\/linux\/wp-content\/uploads\/2019\/08\/Linux-Server-Project-1-650x433.jpg\" alt=\"\" class=\"alignnone size-medium wp-image-481\" width=\"650\" height=\"433\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">\u7e3d\u6559\u982d\u56de\u8986\uff1a<\/span><br \/>\n\u5176\u5be6\u9019\u500b\u932f\u8aa4\u662fmysql\u6578\u64da\u5eab\u7684\u6b0a\u9650\u8a2d\u7f6e\u6210\u4e86777\u6240\u9020\u6210\u7684\uff0c\u89e3\u6c7a\u8fa6\u6cd5\u5c31\u662f\u628a\u6578\u64da\u5eab\u7684\u6839\u76ee\u9304\u6b0a\u9650\u91cd\u65b0\u8a2d\u7f6e\u6210755\u5373\u53ef\u3002<br \/>\n\u8acb\u4f7f\u7528FTP\u6216WinSCP\u9023\u7dda\u81f3\u4f60\u7684\u4e3b\u6a5f<br \/>\n<span style=\"color: #008000;\">\u4f8b\u5982\uff1a<\/span>\u8cc7\u6599\u5eab\u7ba1\u7406 phpMyAdmin \u7684\u5b58\u653e\u76ee\u9304\u662f\uff1a\/var\/www\/phpmyadmin<br \/>\n\u90a3\u5c31\u9ede\u9078phpmyadmin\u6309\u53f3\u9375\uff0c\u628a\u5c6c\u6027\u6539\u6210775\u6309\u78ba\u5b9a\u5373\u53ef\uff01<br \/>\n\u5982\u679c\u4f7f\u7528\u7d42\u7aef\u6a5f\uff0c\u5247\u53ef\u4ee5\u9032\u884c\u5982\u4e0b\u7684\u64cd\u4f5c\uff1a<br \/>\nsudo chmod -R 755 \/var\/www\/<\/strong><strong><strong>phpmyadmin <\/strong>,\u9019\u6a23\u91cd\u65b0\u8a2d\u7f6e\u5f8c\u5c31\u53ef\u4ee5\u4e86\u3002<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3010\u6280\u8853\u56de\u8986\u3011Wrong permissions on configuration file, should n [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":481,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[20],"class_list":["post-187","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-linux"],"_links":{"self":[{"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/posts\/187"}],"collection":[{"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/comments?post=187"}],"version-history":[{"count":0,"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/posts\/187\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/media\/481"}],"wp:attachment":[{"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/media?parent=187"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/categories?post=187"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/tags?post=187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}