{"id":163145,"date":"2024-11-04T21:02:17","date_gmt":"2024-11-04T13:02:17","guid":{"rendered":"https:\/\/server.hk\/cnblog\/163145\/"},"modified":"2024-11-04T21:02:18","modified_gmt":"2024-11-04T13:02:18","slug":"%e8%a7%a3%e9%99%a4%e6%95%b8%e6%93%9a%e5%ba%ab%e5%bc%b7%e5%88%b6%e5%af%86%e7%a2%bc%e7%ad%96%e7%95%a5%e7%9a%84%e6%96%b9%e6%b3%95%e7%b0%a1%e4%bb%8b%ef%bc%88%e6%95%b8%e6%93%9a%e5%ba%ab%e5%bc%b7%e5%88%b6","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/163145\/","title":{"rendered":"\u89e3\u9664\u6578\u64da\u5eab\u5f37\u5236\u5bc6\u78bc\u7b56\u7565\u7684\u65b9\u6cd5\u7c21\u4ecb\uff08\u6578\u64da\u5eab\u5f37\u5236\u5bc6\u78bc\u7b56\u7565\u600e\u9ebc\u53bb\u6389\uff09"},"content":{"rendered":"<h1 id=\"%e8%a7%a3%e9%99%a4%e6%95%b8%e6%93%9a%e5%ba%ab%e5%bc%b7%e5%88%b6%e5%af%86%e7%a2%bc%e7%ad%96%e7%95%a5%e7%9a%84%e6%96%b9%e6%b3%95%e7%b0%a1%e4%bb%8b-FrqOyNutBW\">\u89e3\u9664\u6578\u64da\u5eab\u5f37\u5236\u5bc6\u78bc\u7b56\u7565\u7684\u65b9\u6cd5\u7c21\u4ecb<\/h1>\n<p>\u5728\u7576\u4eca\u7684\u6578\u64da\u5eab\u7ba1\u7406\u4e2d\uff0c\u5f37\u5236\u5bc6\u78bc\u7b56\u7565\u662f\u4e00\u9805\u91cd\u8981\u7684\u5b89\u5168\u63aa\u65bd\u3002\u5b83\u78ba\u4fdd\u4e86\u6578\u64da\u5eab\u7684\u5b89\u5168\u6027\uff0c\u9632\u6b62\u672a\u7d93\u6388\u6b0a\u7684\u8a2a\u554f\u3002\u7136\u800c\uff0c\u5728\u67d0\u4e9b\u60c5\u6cc1\u4e0b\uff0c\u7ba1\u7406\u54e1\u53ef\u80fd\u9700\u8981\u89e3\u9664\u9019\u4e00\u7b56\u7565\uff0c\u4ee5\u4fbf\u9032\u884c\u7279\u5b9a\u7684\u64cd\u4f5c\u6216\u6e2c\u8a66\u3002\u672c\u6587\u5c07\u4ecb\u7d39\u5982\u4f55\u89e3\u9664\u6578\u64da\u5eab\u7684\u5f37\u5236\u5bc6\u78bc\u7b56\u7565\uff0c\u4e26\u63d0\u4f9b\u4e00\u4e9b\u76f8\u95dc\u7684\u793a\u4f8b\u548c\u6ce8\u610f\u4e8b\u9805\u3002<\/p>\n<h2 id=\"%e4%bb%80%e9%ba%bc%e6%98%af%e6%95%b8%e6%93%9a%e5%ba%ab%e5%bc%b7%e5%88%b6%e5%af%86%e7%a2%bc%e7%ad%96%e7%95%a5%ef%bc%9f-FrqOyNutBW\">\u4ec0\u9ebc\u662f\u6578\u64da\u5eab\u5f37\u5236\u5bc6\u78bc\u7b56\u7565\uff1f<\/h2>\n<p>\u6578\u64da\u5eab\u5f37\u5236\u5bc6\u78bc\u7b56\u7565\u662f\u6307\u4e00\u7d44\u898f\u5247\uff0c\u65e8\u5728\u78ba\u4fdd\u7528\u6236\u5728\u5275\u5efa\u6216\u66f4\u6539\u5bc6\u78bc\u6642\u9075\u5faa\u4e00\u5b9a\u7684\u5b89\u5168\u6a19\u6e96\u3002\u9019\u4e9b\u898f\u5247\u901a\u5e38\u5305\u62ec\uff1a<\/p>\n<ul>\n<li>\u5bc6\u78bc\u9577\u5ea6\u8981\u6c42<\/li>\n<li>\u5fc5\u9808\u5305\u542b\u5927\u5beb\u5b57\u6bcd\u3001\u5c0f\u5beb\u5b57\u6bcd\u3001\u6578\u5b57\u548c\u7279\u6b8a\u5b57\u7b26<\/li>\n<li>\u5b9a\u671f\u66f4\u6539\u5bc6\u78bc\u7684\u8981\u6c42<\/li>\n<\/ul>\n<p>\u9019\u4e9b\u7b56\u7565\u7684\u76ee\u7684\u662f\u63d0\u9ad8\u6578\u64da\u5eab\u7684\u5b89\u5168\u6027\uff0c\u9632\u6b62\u6f5b\u5728\u7684\u5b89\u5168\u6f0f\u6d1e\u3002\u7136\u800c\uff0c\u5728\u67d0\u4e9b\u60c5\u6cc1\u4e0b\uff0c\u4f8b\u5982\u958b\u767c\u74b0\u5883\u6216\u6e2c\u8a66\u74b0\u5883\u4e2d\uff0c\u9019\u4e9b\u7b56\u7565\u53ef\u80fd\u6703\u9020\u6210\u4e0d\u4fbf\u3002<\/p>\n<h2 id=\"%e8%a7%a3%e9%99%a4%e5%bc%b7%e5%88%b6%e5%af%86%e7%a2%bc%e7%ad%96%e7%95%a5%e7%9a%84%e6%ad%a5%e9%a9%9f-FrqOyNutBW\">\u89e3\u9664\u5f37\u5236\u5bc6\u78bc\u7b56\u7565\u7684\u6b65\u9a5f<\/h2>\n<p>\u89e3\u9664\u6578\u64da\u5eab\u7684\u5f37\u5236\u5bc6\u78bc\u7b56\u7565\u901a\u5e38\u6d89\u53ca\u5230\u6578\u64da\u5eab\u7684\u914d\u7f6e\u8a2d\u7f6e\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u898b\u7684\u6578\u64da\u5eab\u7cfb\u7d71\u4e2d\u89e3\u9664\u5f37\u5236\u5bc6\u78bc\u7b56\u7565\u7684\u6b65\u9a5f\uff1a<\/p>\n<h3 id=\"1-mysql-FrqOyNutBW\">1. MySQL<\/h3>\n<p>\u5728MySQL\u4e2d\uff0c\u5f37\u5236\u5bc6\u78bc\u7b56\u7565\u662f\u901a\u904e\u7cfb\u7d71\u8b8a\u91cf\u4f86\u63a7\u5236\u7684\u3002\u8981\u89e3\u9664\u5f37\u5236\u5bc6\u78bc\u7b56\u7565\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre><code>SET GLOBAL validate_password.policy = LOW;<\/code><\/pre>\n<p>\u9019\u689d\u547d\u4ee4\u5c07\u5bc6\u78bc\u7b56\u7565\u8a2d\u7f6e\u70ba\u4f4e\uff0c\u9019\u610f\u5473\u8457\u5bc6\u78bc\u7684\u8981\u6c42\u5c07\u6703\u6e1b\u5c11\u3002\u8acb\u6ce8\u610f\uff0c\u9019\u9700\u8981\u76f8\u61c9\u7684\u6b0a\u9650\u3002<\/p>\n<h3 id=\"2-sql-server-FrqOyNutBW\">2. SQL Server<\/h3>\n<p>\u5728SQL Server\u4e2d\uff0c\u53ef\u4ee5\u901a\u904e\u4ee5\u4e0b\u6b65\u9a5f\u4f86\u89e3\u9664\u5f37\u5236\u5bc6\u78bc\u7b56\u7565\uff1a<\/p>\n<pre><code>ALTER LOGIN [YourLogin] WITH CHECK_POLICY = OFF;<\/code><\/pre>\n<p>\u9019\u689d\u547d\u4ee4\u5c07\u7981\u7528\u8a72\u7528\u6236\u7684\u5bc6\u78bc\u7b56\u7565\u6aa2\u67e5\u3002\u8acb\u78ba\u4fdd\u5728\u57f7\u884c\u6b64\u64cd\u4f5c\u4e4b\u524d\uff0c\u60a8\u4e86\u89e3\u9019\u53ef\u80fd\u5e36\u4f86\u7684\u5b89\u5168\u98a8\u96aa\u3002<\/p>\n<h3 id=\"3-oracle-FrqOyNutBW\">3. Oracle<\/h3>\n<p>\u5728Oracle\u6578\u64da\u5eab\u4e2d\uff0c\u89e3\u9664\u5f37\u5236\u5bc6\u78bc\u7b56\u7565\u7684\u6b65\u9a5f\u5982\u4e0b\uff1a<\/p>\n<pre><code>ALTER PROFILE DEFAULT LIMIT PASSWORD_VERIFY_FUNCTION NULL;<\/code><\/pre>\n<p>\u9019\u689d\u547d\u4ee4\u5c07\u9ed8\u8a8d\u914d\u7f6e\u6587\u4ef6\u7684\u5bc6\u78bc\u9a57\u8b49\u529f\u80fd\u8a2d\u7f6e\u70baNULL\uff0c\u5f9e\u800c\u89e3\u9664\u5f37\u5236\u5bc6\u78bc\u7b56\u7565\u3002<\/p>\n<h2 id=\"%e6%b3%a8%e6%84%8f%e4%ba%8b%e9%a0%85-FrqOyNutBW\">\u6ce8\u610f\u4e8b\u9805<\/h2>\n<p>\u5728\u89e3\u9664\u5f37\u5236\u5bc6\u78bc\u7b56\u7565\u4e4b\u524d\uff0c\u7ba1\u7406\u54e1\u61c9\u8003\u616e\u4ee5\u4e0b\u5e7e\u9ede\uff1a<\/p>\n<ul>\n<li>\u89e3\u9664\u5f37\u5236\u5bc6\u78bc\u7b56\u7565\u53ef\u80fd\u6703\u589e\u52a0\u6578\u64da\u5eab\u7684\u5b89\u5168\u98a8\u96aa\uff0c\u56e0\u6b64\u61c9\u8b39\u614e\u64cd\u4f5c\u3002<\/li>\n<li>\u5728\u751f\u7522\u74b0\u5883\u4e2d\uff0c\u5efa\u8b70\u4fdd\u7559\u5f37\u5236\u5bc6\u78bc\u7b56\u7565\uff0c\u4ee5\u4fdd\u8b77\u654f\u611f\u6578\u64da\u3002<\/li>\n<li>\u5728\u6e2c\u8a66\u74b0\u5883\u4e2d\u89e3\u9664\u7b56\u7565\u5f8c\uff0c\u61c9\u5b9a\u671f\u6aa2\u67e5\u548c\u66f4\u65b0\u5b89\u5168\u63aa\u65bd\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%b8%bd%e7%b5%90-FrqOyNutBW\">\u7e3d\u7d50<\/h2>\n<p>\u89e3\u9664\u6578\u64da\u5eab\u7684\u5f37\u5236\u5bc6\u78bc\u7b56\u7565\u53ef\u4ee5\u5728\u7279\u5b9a\u60c5\u6cc1\u4e0b\u63d0\u4f9b\u4fbf\u5229\uff0c\u4f46\u540c\u6642\u4e5f\u9700\u8981\u8b39\u614e\u8003\u616e\u5b89\u5168\u98a8\u96aa\u3002\u7121\u8ad6\u662f\u5728MySQL\u3001SQL Server\u9084\u662fOracle\u4e2d\uff0c\u7ba1\u7406\u54e1\u90fd\u53ef\u4ee5\u901a\u904e\u7c21\u55ae\u7684\u547d\u4ee4\u4f86\u8abf\u6574\u9019\u4e9b\u7b56\u7565\u3002\u5c0d\u65bc\u9700\u8981\u9748\u6d3b\u6027\u548c\u4fbf\u6377\u6027\u7684\u958b\u767c\u548c\u6e2c\u8a66\u74b0\u5883\uff0c\u9019\u4e9b\u65b9\u6cd5\u5c24\u70ba\u91cd\u8981\u3002\u82e5\u60a8\u9700\u8981\u9032\u4e00\u6b65\u4e86\u89e3\u5982\u4f55\u5728\u9999\u6e2f\u63d0\u4f9b\u9ad8\u6548\u7684\u6578\u64da\u5eab\u89e3\u6c7a\u65b9\u6848\uff0c\u8acb\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9 <a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a> \u670d\u52d9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e86\u89e3\u5982\u4f55\u89e3\u9664\u6578\u64da\u5eab\u7684\u5f37\u5236\u5bc6\u78bc\u7b56\u7565\uff0c\u7c21\u55ae\u6b65\u9a5f\u6559\u4f60\u53bb\u6389\u4e0d\u5fc5\u8981\u7684\u5bc6\u78bc\u8981\u6c42\uff0c\u63d0\u5347\u7ba1\u7406\u9748\u6d3b\u6027\u3002<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[],"class_list":["post-163145","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/163145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=163145"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/163145\/revisions"}],"predecessor-version":[{"id":163146,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/163145\/revisions\/163146"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=163145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=163145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=163145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}