{"id":7338,"date":"2020-05-04T12:42:06","date_gmt":"2020-05-04T04:42:06","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7338"},"modified":"2020-05-27T00:03:42","modified_gmt":"2020-05-26T16:03:42","slug":"grub-md5-crypt","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/grub-md5-crypt","title":{"rendered":"grub-md5-crypt\u547d\u4ee4 – \u5bf9GRUB \u7684\u5bc6\u7801\u8fdb\u884c\u52a0\u5bc6"},"content":{"rendered":"\n
MD5\uff0c\u4e00\u79cd\u88ab\u5e7f\u6cdb\u4f7f\u7528\u7684\u5bc6\u7801\u6563\u5217\u51fd\u6570\uff0c\u53ef\u4ee5\u4ea7\u751f\u51fa\u4e00\u4e2a128\u4f4d\u7684\u6563\u5217\u503c\uff08hash value\uff09\uff0c\u7528\u4e8e\u786e\u4fdd\u4fe1\u606f\u4f20\u8f93\u5b8c\u6574\u4e00\u81f4\u3002MD5\u7b97\u6cd5\u7684\u539f\u7406\u53ef\u7b80\u8981\u7684\u53d9\u8ff0\u4e3a\uff1aMD5\u7801\u4ee5512\u4f4d\u5206\u7ec4\u6765\u5904\u7406\u8f93\u5165\u7684\u4fe1\u606f\uff0c\u4e14\u6bcf\u4e00\u5206\u7ec4\u53c8\u88ab\u5212\u5206\u4e3a16\u4e2a32\u4f4d\u5b50\u5206\u7ec4\uff0c\u7ecf\u8fc7\u4e86\u4e00\u7cfb\u5217\u7684\u5904\u7406\u540e\uff0c\u7b97\u6cd5\u7684\u8f93\u51fa\u7531\u56db\u4e2a32\u4f4d\u5206\u7ec4\u7ec4\u6210\uff0c\u5c06\u8fd9\u56db\u4e2a32\u4f4d\u5206\u7ec4\u7ea7\u8054\u540e\u5c06\u751f\u6210\u4e00\u4e2a128\u4f4d\u6563\u5217\u503c\u3002<\/p>\n\n\n\n
\u4f7f\u7528grub-md5-crypt\u547d\u4ee4\u53ef\u4ee5\u4ee5MD5\u683c\u5f0f\u5bf9GRUB \u7684\u5bc6\u7801\u8fdb\u884c\u6dfb\u52a0\u52a0\u5bc6\u53e3\u4ee4\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>grub-md5-crypt [\u53c2\u6570]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u751f\u6210MD5\u52a0\u5bc6\u53e3\u4ee4\uff1a<\/p>\n\n\n\n \u7f16\u8f91grub\u914d\u7f6e\u6587\u4ef6\uff1a<\/p>\n\n\n\n MD5\uff0c\u4e00\u79cd\u88ab\u5e7f\u6cdb\u4f7f\u7528\u7684\u5bc6\u7801\u6563\u5217\u51fd\u6570\uff0c\u53ef\u4ee5\u4ea7\u751f\u51fa\u4e00\u4e2a128\u4f4d\u7684\u6563\u5217\u503c\uff08hash value\uff09\uff0c\u7528\u4e8e\u786e\u4fdd\u4fe1\u606f\u4f20\u8f93 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7338"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=7338"}],"version-history":[{"count":8,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7338\/revisions"}],"predecessor-version":[{"id":7888,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7338\/revisions\/7888"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}--grub-shell=<\u6587\u4ef6><\/td> \u4f7f\u7528\u6307\u5b9a\u6587\u4ef6\u4f5c\u4e3aGRUB<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# grub-md5-crypt<\/pre>\n\n\n\n
[root@linuxcool ~]# vi \/etc\/grub.conf\npassword \u00a0--md5 \u00a0$1$xdRKQ\/$43ZXGkk1yziGE12Vlqgg71<\/pre>\n","protected":false},"excerpt":{"rendered":"