{"id":14102,"date":"2023-12-12T19:57:51","date_gmt":"2023-12-12T16:27:51","guid":{"rendered":"https:\/\/itpiran.net\/blog\/?p=14102"},"modified":"2025-04-08T21:19:44","modified_gmt":"2025-04-08T17:49:44","slug":"how-do-i-change-the-root-password-via-the-rescue-system-linux","status":"publish","type":"post","link":"https:\/\/www.itpiran.net\/blog\/zh\/security\/how-do-i-change-the-root-password-via-the-rescue-system-linux\/","title":{"rendered":"\u5982\u4f55\u901a\u8fc7\u6551\u63f4\u7cfb\u7edf\uff08Linux\uff09\u66f4\u6539root\u5bc6\u7801\uff1f"},"content":{"rendered":"<h2 id=\"%da%86%da%af%d9%88%d9%86%d9%87-%d8%b1%d9%85%d8%b2-%d8%b9%d8%a8%d9%88%d8%b1-%d8%b1%db%8c%d8%b4%d9%87-root-%d8%b1%d8%a7-%d8%a7%d8%b2-%d8%b7%d8%b1%db%8c%d9%82-%d8%b3%db%8c%d8%b3%d8%aa%d9%85-%d9%86\" style=\"text-align: justify;\"><strong>\u5982\u4f55\u901a\u8fc7\u6551\u63f4\u7cfb\u7edf\uff08Linux\uff09\u66f4\u6539root\u5bc6\u7801\uff1f<\/strong><\/h2>\n<p style=\"text-align: justify;\">\u5982\u679c\u60a8\u5fd8\u8bb0\u6216\u4e22\u5931\u4e86root\u5bc6\u7801\uff0c\u5e76\u5e0c\u671b\u901a\u8fc7\u6062\u590d\u7cfb\u7edf\u91cd\u7f6e\u5bc6\u7801\uff0c\u8bf7\u6309\u7167\u4ee5\u4e0b\u8bf4\u660e\u64cd\u4f5c\uff1a<\/p>\n<p style=\"text-align: justify;\">1\uff09\u542f\u52a8\u670d\u52a1\u5668\u8fdb\u5165\u6551\u63f4\u6a21\u5f0f\uff0c\u5e76\u8fdb\u5165\u4e13\u7528\u670d\u52a1\u5668\u7ba1\u7406\u754c\u9762\u3002\u5728\u90a3\u91cc\u6fc0\u6d3b\u201c\u542f\u52a8\u6551\u63f4\u6a21\u5f0f\u201d\u529f\u80fd\u3002\u6551\u63f4\u7cfb\u7edf\u6210\u529f\u542f\u52a8\u540e\uff0c\u6551\u63f4\u6a21\u5f0f\u7684\u4e3b\u5bc6\u7801\u5c06\u663e\u793a\u5728\u4e2d\u592e\u5ba2\u6237\u7ba1\u7406\u7cfb\u7edf (ZKM) \u4e2d\u3002.<\/p>\n<p style=\"text-align: justify;\">2.) \u4f7f\u7528\u6b64\u5bc6\u7801\u4e0e\u6551\u63f4\u7cfb\u7edf\u5efa\u7acb SSH \u8fde\u63a5\uff08\u5728 Windows \u4e0a\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u201cPutty\u201d\u5ba2\u6237\u7aef\uff09\u3002.<\/p>\n<p style=\"text-align: justify;\">3.) \u901a\u8fc7 SSH \u8fde\u63a5\u540e\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u4e4b\u4e00\u6765\u67e5\u627e\u6839\u5206\u533a\uff08\u6700\u5927\u7684\u5206\u533a\u901a\u5e38\u662f\u6240\u9700\u7684\u6839\u5206\u533a\uff09\uff1a<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>fdisk -l\r\n# \u06cc\u0627\r\nparted -l<\/code><\/pre>\n<\/div>\n<p style=\"text-align: justify;\"><strong>\u627e\u5230\u7cfb\u7edf\u5206\u533a\u540e\uff0c\u5c06\u5176\u6302\u8f7d\uff1a<\/strong><\/p>\n<p style=\"text-align: justify;\">\u5982\u679c\u6ca1\u6709\u8f6f\u4ef6 RAID\uff08\/dev\/sda1 \u53ef\u80fd\u6709\u6240\u4e0d\u540c\uff09\uff1a<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>mount\u00a0 \/dev\/sda1\u00a0 \/mnt<\/code><\/pre>\n<\/div>\n<p style=\"text-align: justify;\">\u4f7f\u7528\u8f6f\u4ef6 RAID \u65f6\uff08\/dev\/md0 \u53ef\u80fd\u6709\u6240\u4e0d\u540c\uff09\uff1a<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>mount \/dev\/md0 \/mnt<\/code><\/pre>\n<\/div>\n<p style=\"text-align: justify;\">4) \u73b0\u5728\u78c1\u76d8\u5df2\u6302\u8f7d\uff0c\u8bf7\u6302\u8f7d\u201cprocfs\u201d\u548c\u201cdevfs\u201d\uff1a<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>mount -o bind \/dev \/mnt\/dev\r\nmount -t proc \/proc \/mnt\/proc<\/code><\/pre>\n<\/div>\n<p style=\"text-align: justify;\">5.) \u4f7f\u7528\u201cchroot\u201d\u547d\u4ee4\u767b\u5f55\u60a8\u7684\u7cfb\u7edf\u5e76\u66f4\u6539\u5bc6\u7801\uff1a<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>chroot \/mnt \/bin\/bash<\/code><\/pre>\n<\/div>\n<p style=\"text-align: justify;\">6.) \u60a8\u73b0\u5728\u5e94\u8be5\u5df2\u7ecf\u767b\u5f55\u3002\u60a8\u73b0\u5728\u53ef\u4ee5\u4f7f\u7528 passwd \u547d\u4ee4\u66f4\u6539\u5bc6\u7801\uff1a<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>passwd<\/code><\/pre>\n<\/div>\n<p style=\"text-align: justify;\"><strong>\u7b14\u8bb0\uff1a<\/strong> \u73b0\u5728\u7cfb\u7edf\u4f1a\u8981\u6c42\u60a8\u8f93\u5165\u4e24\u6b21\u65b0\u5bc6\u7801\uff0c\u800c\u8f93\u5165 Linux \u5bc6\u7801\u901a\u5e38\u4e0d\u4f1a\u663e\u793a\u4efb\u4f55\u5185\u5bb9\u3002.<\/p>\n<p style=\"text-align: justify;\">7.) \u5bc6\u7801\u66f4\u6539\u6210\u529f\u540e\uff0c\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u79fb\u9664\u5df2\u6302\u8f7d\u7684\u78c1\u76d8\u5e76\u6ce8\u9500\u7cfb\u7edf\uff1a<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>exit<\/code><\/pre>\n<\/div>\n<p style=\"text-align: justify;\">\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u8fd4\u56de\u6839\u76ee\u5f55\uff1a<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>cd \/<\/code><\/pre>\n<\/div>\n<p style=\"text-align: justify;\">\u73b0\u5728\u518d\u9010\u4e2a\u5220\u9664\u73b0\u6709\u76ee\u5f55\uff1a<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>umount\u00a0 \/mnt\/proc\r\numount\u00a0 \/mnt\/dev\r\numount\u00a0 \/mnt<\/code><\/pre>\n<\/div>\n<p style=\"text-align: justify;\">8.) \u73b0\u5728\u5728\u4e2d\u592e\u5ba2\u6237\u7ba1\u7406 (ZKM) \u4e2d\u91cd\u7f6e\u6551\u63f4\u6a21\u5f0f\uff0c\u7136\u540e\u901a\u8fc7\u91cd\u542f\u6765\u91cd\u65b0\u542f\u52a8\u7cfb\u7edf\u3002.<\/p>\n<p style=\"text-align: justify;\">9.) \u60a8\u73b0\u5728\u53ef\u4ee5\u4f7f\u7528\u65b0\u8bbe\u7f6e\u7684\u5bc6\u7801\u901a\u8fc7 SSH \u767b\u5f55\u3002.<\/p>","protected":false},"excerpt":{"rendered":"\u5982\u4f55\u901a\u8fc7\u6551\u63f4\u7cfb\u7edf\uff08Linux\uff09\u66f4\u6539 root \u5bc6\u7801\uff1f\u5982\u679c\u60a8\u7684 root \u5bc6\u7801\u2026\u2026","protected":false},"author":1,"featured_media":14301,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_focuskw":"\u062a\u063a\u06cc\u06cc\u0631 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 rescue \u0644\u06cc\u0646\u0648\u06a9\u0633","_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"\u0627\u06af\u0631 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 root \u062e\u0648\u062f \u0631\u0627 \u0641\u0631\u0627\u0645\u0648\u0634 \u06a9\u0631\u062f\u0647 \u0648 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0622\u0646 \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 Rescue System \u0628\u0627\u0632\u0646\u0634\u0627\u0646\u06cc \u06a9\u0646\u06cc\u062f\u060c \u0644\u0637\u0641\u0627\u064b \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631\u0627\u0644\u0639\u0645\u0644 \u0647\u0627 \u0631\u0627 \u062f\u0646\u0628\u0627\u0644 \u06a9\u0646\u06cc\u062f:","_yoast_wpseo_canonical":"","_yoast_wpseo_opengraph-description":"","_yoast_wpseo_opengraph-image":"","_yoast_wpseo_twitter-description":"","_yoast_wpseo_twitter-image":"","_yoast_wpseo_focuskeywords":"[]","_yoast_wpseo_primary_category":"324","footnotes":""},"categories":[324,204],"tags":[358,388,387],"class_list":{"0":"post-14102","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-security","8":"category-servers","9":"tag-linux","10":"tag-password","11":"tag-rescue"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u0686\u06af\u0648\u0646\u0647 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0631\u06cc\u0634\u0647 (root) \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0633\u06cc\u0633\u062a\u0645 \u0646\u062c\u0627\u062a (\u0644\u06cc\u0646\u0648\u06a9\u0633) \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u0645\u061f - \u0628\u0644\u0627\u06af ITPiran<\/title>\n<meta name=\"description\" content=\"\u0627\u06af\u0631 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 root \u062e\u0648\u062f \u0631\u0627 \u0641\u0631\u0627\u0645\u0648\u0634 \u06a9\u0631\u062f\u0647 \u0648 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0622\u0646 \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 Rescue System \u0628\u0627\u0632\u0646\u0634\u0627\u0646\u06cc \u06a9\u0646\u06cc\u062f\u060c \u0644\u0637\u0641\u0627\u064b \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631\u0627\u0644\u0639\u0645\u0644 \u0647\u0627 \u0631\u0627 \u062f\u0646\u0628\u0627\u0644 \u06a9\u0646\u06cc\u062f:\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.itpiran.net\/blog\/zh\/security\/how-do-i-change-the-root-password-via-the-rescue-system-linux\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0686\u06af\u0648\u0646\u0647 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0631\u06cc\u0634\u0647 (root) \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0633\u06cc\u0633\u062a\u0645 \u0646\u062c\u0627\u062a (\u0644\u06cc\u0646\u0648\u06a9\u0633) \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u0645\u061f - \u0628\u0644\u0627\u06af ITPiran\" \/>\n<meta property=\"og:description\" content=\"\u0627\u06af\u0631 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 root \u062e\u0648\u062f \u0631\u0627 \u0641\u0631\u0627\u0645\u0648\u0634 \u06a9\u0631\u062f\u0647 \u0648 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0622\u0646 \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 Rescue System \u0628\u0627\u0632\u0646\u0634\u0627\u0646\u06cc \u06a9\u0646\u06cc\u062f\u060c \u0644\u0637\u0641\u0627\u064b \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631\u0627\u0644\u0639\u0645\u0644 \u0647\u0627 \u0631\u0627 \u062f\u0646\u0628\u0627\u0644 \u06a9\u0646\u06cc\u062f:\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.itpiran.net\/blog\/zh\/security\/how-do-i-change-the-root-password-via-the-rescue-system-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0628\u0644\u0627\u06af ITPiran\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-12T16:27:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-08T17:49:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.itpiran.net\/2023\/12\/27151209\/%DA%86%DA%AF%D9%88%D9%86%D9%87-%D8%B1%D9%85%D8%B2-%D8%B9%D8%A8%D9%88%D8%B1-%D8%B1%DB%8C%D8%B4%D9%87-root-%D8%B1%D8%A7-%D8%A7%D8%B2-%D8%B7%D8%B1%DB%8C%D9%82-%D8%B3%DB%8C%D8%B3%D8%AA%D9%85-%D9%86%D8%AC%D8%A7%D8%AA-%D9%84%DB%8C%D9%86%D9%88%DA%A9%D8%B3-%D8%AA%D8%BA%DB%8C%DB%8C%D8%B1-%D8%AF%D9%87%DB%8C%D9%85%D8%9F.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1793\" \/>\n\t<meta property=\"og:image:height\" content=\"1110\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/security\\\/how-do-i-change-the-root-password-via-the-rescue-system-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/security\\\/how-do-i-change-the-root-password-via-the-rescue-system-linux\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/person\\\/04ed27b919baca468a2273f8e4318f81\"},\"headline\":\"\u0686\u06af\u0648\u0646\u0647 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0631\u06cc\u0634\u0647 (root) \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0633\u06cc\u0633\u062a\u0645 \u0646\u062c\u0627\u062a (\u0644\u06cc\u0646\u0648\u06a9\u0633) \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u0645\u061f\",\"datePublished\":\"2023-12-12T16:27:51+00:00\",\"dateModified\":\"2025-04-08T17:49:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/security\\\/how-do-i-change-the-root-password-via-the-rescue-system-linux\\\/\"},\"wordCount\":29,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/security\\\/how-do-i-change-the-root-password-via-the-rescue-system-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27151209\\\/%DA%86%DA%AF%D9%88%D9%86%D9%87-%D8%B1%D9%85%D8%B2-%D8%B9%D8%A8%D9%88%D8%B1-%D8%B1%DB%8C%D8%B4%D9%87-root-%D8%B1%D8%A7-%D8%A7%D8%B2-%D8%B7%D8%B1%DB%8C%D9%82-%D8%B3%DB%8C%D8%B3%D8%AA%D9%85-%D9%86%D8%AC%D8%A7%D8%AA-%D9%84%DB%8C%D9%86%D9%88%DA%A9%D8%B3-%D8%AA%D8%BA%DB%8C%DB%8C%D8%B1-%D8%AF%D9%87%DB%8C%D9%85%D8%9F.jpg\",\"keywords\":[\"linux\",\"password\",\"rescue\"],\"articleSection\":[\"\u0627\u0645\u0646\u06cc\u062a\",\"\u0633\u0631\u0648\u0631\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/security\\\/how-do-i-change-the-root-password-via-the-rescue-system-linux\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/security\\\/how-do-i-change-the-root-password-via-the-rescue-system-linux\\\/\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/security\\\/how-do-i-change-the-root-password-via-the-rescue-system-linux\\\/\",\"name\":\"\u0686\u06af\u0648\u0646\u0647 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0631\u06cc\u0634\u0647 (root) \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0633\u06cc\u0633\u062a\u0645 \u0646\u062c\u0627\u062a (\u0644\u06cc\u0646\u0648\u06a9\u0633) \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u0645\u061f - \u0628\u0644\u0627\u06af ITPiran\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/security\\\/how-do-i-change-the-root-password-via-the-rescue-system-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/security\\\/how-do-i-change-the-root-password-via-the-rescue-system-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27151209\\\/%DA%86%DA%AF%D9%88%D9%86%D9%87-%D8%B1%D9%85%D8%B2-%D8%B9%D8%A8%D9%88%D8%B1-%D8%B1%DB%8C%D8%B4%D9%87-root-%D8%B1%D8%A7-%D8%A7%D8%B2-%D8%B7%D8%B1%DB%8C%D9%82-%D8%B3%DB%8C%D8%B3%D8%AA%D9%85-%D9%86%D8%AC%D8%A7%D8%AA-%D9%84%DB%8C%D9%86%D9%88%DA%A9%D8%B3-%D8%AA%D8%BA%DB%8C%DB%8C%D8%B1-%D8%AF%D9%87%DB%8C%D9%85%D8%9F.jpg\",\"datePublished\":\"2023-12-12T16:27:51+00:00\",\"dateModified\":\"2025-04-08T17:49:44+00:00\",\"description\":\"\u0627\u06af\u0631 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 root \u062e\u0648\u062f \u0631\u0627 \u0641\u0631\u0627\u0645\u0648\u0634 \u06a9\u0631\u062f\u0647 \u0648 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0622\u0646 \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 Rescue System \u0628\u0627\u0632\u0646\u0634\u0627\u0646\u06cc \u06a9\u0646\u06cc\u062f\u060c \u0644\u0637\u0641\u0627\u064b \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631\u0627\u0644\u0639\u0645\u0644 \u0647\u0627 \u0631\u0627 \u062f\u0646\u0628\u0627\u0644 \u06a9\u0646\u06cc\u062f:\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/security\\\/how-do-i-change-the-root-password-via-the-rescue-system-linux\\\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/security\\\/how-do-i-change-the-root-password-via-the-rescue-system-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/security\\\/how-do-i-change-the-root-password-via-the-rescue-system-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27151209\\\/%DA%86%DA%AF%D9%88%D9%86%D9%87-%D8%B1%D9%85%D8%B2-%D8%B9%D8%A8%D9%88%D8%B1-%D8%B1%DB%8C%D8%B4%D9%87-root-%D8%B1%D8%A7-%D8%A7%D8%B2-%D8%B7%D8%B1%DB%8C%D9%82-%D8%B3%DB%8C%D8%B3%D8%AA%D9%85-%D9%86%D8%AC%D8%A7%D8%AA-%D9%84%DB%8C%D9%86%D9%88%DA%A9%D8%B3-%D8%AA%D8%BA%DB%8C%DB%8C%D8%B1-%D8%AF%D9%87%DB%8C%D9%85%D8%9F.jpg\",\"contentUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27151209\\\/%DA%86%DA%AF%D9%88%D9%86%D9%87-%D8%B1%D9%85%D8%B2-%D8%B9%D8%A8%D9%88%D8%B1-%D8%B1%DB%8C%D8%B4%D9%87-root-%D8%B1%D8%A7-%D8%A7%D8%B2-%D8%B7%D8%B1%DB%8C%D9%82-%D8%B3%DB%8C%D8%B3%D8%AA%D9%85-%D9%86%D8%AC%D8%A7%D8%AA-%D9%84%DB%8C%D9%86%D9%88%DA%A9%D8%B3-%D8%AA%D8%BA%DB%8C%DB%8C%D8%B1-%D8%AF%D9%87%DB%8C%D9%85%D8%9F.jpg\",\"width\":1793,\"height\":1110},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/security\\\/how-do-i-change-the-root-password-via-the-rescue-system-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0627\u0645\u0646\u06cc\u062a\",\"item\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/category\\\/security\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u0686\u06af\u0648\u0646\u0647 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0631\u06cc\u0634\u0647 (root) \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0633\u06cc\u0633\u062a\u0645 \u0646\u062c\u0627\u062a (\u0644\u06cc\u0646\u0648\u06a9\u0633) \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u0645\u061f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\",\"name\":\"\u0628\u0644\u0627\u06af ITPiran\",\"description\":\"\u0627\u062e\u0628\u0627\u0631 \u0648 \u0645\u0642\u0627\u0644\u0627\u062a \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\",\"name\":\"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\",\"alternateName\":\"ITPIran Blog\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27150508\\\/cropped-ITPIRAN-BLOG-LOGO-2.png\",\"contentUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27150508\\\/cropped-ITPIRAN-BLOG-LOGO-2.png\",\"width\":512,\"height\":512,\"caption\":\"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/person\\\/04ed27b919baca468a2273f8e4318f81\",\"name\":\"admin\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/zh\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5982\u4f55\u901a\u8fc7\u6551\u63f4\u7cfb\u7edf\uff08Linux\uff09\u66f4\u6539 root \u5bc6\u7801\uff1f - ITPiran \u535a\u5ba2","description":"\u5982\u679c\u60a8\u5fd8\u8bb0\u4e86root\u5bc6\u7801\uff0c\u5e76\u5e0c\u671b\u901a\u8fc7\u6062\u590d\u7cfb\u7edf\u91cd\u7f6e\u5bc6\u7801\uff0c\u8bf7\u6309\u7167\u4ee5\u4e0b\u8bf4\u660e\u64cd\u4f5c\uff1a","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.itpiran.net\/blog\/zh\/security\/how-do-i-change-the-root-password-via-the-rescue-system-linux\/","og_locale":"zh_CN","og_type":"article","og_title":"\u0686\u06af\u0648\u0646\u0647 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0631\u06cc\u0634\u0647 (root) \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0633\u06cc\u0633\u062a\u0645 \u0646\u062c\u0627\u062a (\u0644\u06cc\u0646\u0648\u06a9\u0633) \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u0645\u061f - \u0628\u0644\u0627\u06af ITPiran","og_description":"\u0627\u06af\u0631 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 root \u062e\u0648\u062f \u0631\u0627 \u0641\u0631\u0627\u0645\u0648\u0634 \u06a9\u0631\u062f\u0647 \u0648 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0622\u0646 \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 Rescue System \u0628\u0627\u0632\u0646\u0634\u0627\u0646\u06cc \u06a9\u0646\u06cc\u062f\u060c \u0644\u0637\u0641\u0627\u064b \u0627\u06cc\u0646 \u062f\u0633\u062a\u0648\u0631\u0627\u0644\u0639\u0645\u0644 \u0647\u0627 \u0631\u0627 \u062f\u0646\u0628\u0627\u0644 \u06a9\u0646\u06cc\u062f:","og_url":"https:\/\/www.itpiran.net\/blog\/zh\/security\/how-do-i-change-the-root-password-via-the-rescue-system-linux\/","og_site_name":"\u0628\u0644\u0627\u06af ITPiran","article_published_time":"2023-12-12T16:27:51+00:00","article_modified_time":"2025-04-08T17:49:44+00:00","og_image":[{"width":1793,"height":1110,"url":"https:\/\/cdn.itpiran.net\/2023\/12\/27151209\/%DA%86%DA%AF%D9%88%D9%86%D9%87-%D8%B1%D9%85%D8%B2-%D8%B9%D8%A8%D9%88%D8%B1-%D8%B1%DB%8C%D8%B4%D9%87-root-%D8%B1%D8%A7-%D8%A7%D8%B2-%D8%B7%D8%B1%DB%8C%D9%82-%D8%B3%DB%8C%D8%B3%D8%AA%D9%85-%D9%86%D8%AC%D8%A7%D8%AA-%D9%84%DB%8C%D9%86%D9%88%DA%A9%D8%B3-%D8%AA%D8%BA%DB%8C%DB%8C%D8%B1-%D8%AF%D9%87%DB%8C%D9%85%D8%9F.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.itpiran.net\/blog\/security\/how-do-i-change-the-root-password-via-the-rescue-system-linux\/#article","isPartOf":{"@id":"https:\/\/www.itpiran.net\/blog\/security\/how-do-i-change-the-root-password-via-the-rescue-system-linux\/"},"author":{"name":"admin","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/person\/04ed27b919baca468a2273f8e4318f81"},"headline":"\u0686\u06af\u0648\u0646\u0647 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0631\u06cc\u0634\u0647 (root) \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0633\u06cc\u0633\u062a\u0645 \u0646\u062c\u0627\u062a (\u0644\u06cc\u0646\u0648\u06a9\u0633) \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u0645\u061f","datePublished":"2023-12-12T16:27:51+00:00","dateModified":"2025-04-08T17:49:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.itpiran.net\/blog\/security\/how-do-i-change-the-root-password-via-the-rescue-system-linux\/"},"wordCount":29,"commentCount":0,"publisher":{"@id":"https:\/\/www.itpiran.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/security\/how-do-i-change-the-root-password-via-the-rescue-system-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.itpiran.net\/2023\/12\/27151209\/%DA%86%DA%AF%D9%88%D9%86%D9%87-%D8%B1%D9%85%D8%B2-%D8%B9%D8%A8%D9%88%D8%B1-%D8%B1%DB%8C%D8%B4%D9%87-root-%D8%B1%D8%A7-%D8%A7%D8%B2-%D8%B7%D8%B1%DB%8C%D9%82-%D8%B3%DB%8C%D8%B3%D8%AA%D9%85-%D9%86%D8%AC%D8%A7%D8%AA-%D9%84%DB%8C%D9%86%D9%88%DA%A9%D8%B3-%D8%AA%D8%BA%DB%8C%DB%8C%D8%B1-%D8%AF%D9%87%DB%8C%D9%85%D8%9F.jpg","keywords":["linux","password","rescue"],"articleSection":["\u0627\u0645\u0646\u06cc\u062a","\u0633\u0631\u0648\u0631"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.itpiran.net\/blog\/security\/how-do-i-change-the-root-password-via-the-rescue-system-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.itpiran.net\/blog\/security\/how-do-i-change-the-root-password-via-the-rescue-system-linux\/","url":"https:\/\/www.itpiran.net\/blog\/security\/how-do-i-change-the-root-password-via-the-rescue-system-linux\/","name":"\u5982\u4f55\u901a\u8fc7\u6551\u63f4\u7cfb\u7edf\uff08Linux\uff09\u66f4\u6539 root \u5bc6\u7801\uff1f - ITPiran \u535a\u5ba2","isPartOf":{"@id":"https:\/\/www.itpiran.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.itpiran.net\/blog\/security\/how-do-i-change-the-root-password-via-the-rescue-system-linux\/#primaryimage"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/security\/how-do-i-change-the-root-password-via-the-rescue-system-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.itpiran.net\/2023\/12\/27151209\/%DA%86%DA%AF%D9%88%D9%86%D9%87-%D8%B1%D9%85%D8%B2-%D8%B9%D8%A8%D9%88%D8%B1-%D8%B1%DB%8C%D8%B4%D9%87-root-%D8%B1%D8%A7-%D8%A7%D8%B2-%D8%B7%D8%B1%DB%8C%D9%82-%D8%B3%DB%8C%D8%B3%D8%AA%D9%85-%D9%86%D8%AC%D8%A7%D8%AA-%D9%84%DB%8C%D9%86%D9%88%DA%A9%D8%B3-%D8%AA%D8%BA%DB%8C%DB%8C%D8%B1-%D8%AF%D9%87%DB%8C%D9%85%D8%9F.jpg","datePublished":"2023-12-12T16:27:51+00:00","dateModified":"2025-04-08T17:49:44+00:00","description":"\u5982\u679c\u60a8\u5fd8\u8bb0\u4e86root\u5bc6\u7801\uff0c\u5e76\u5e0c\u671b\u901a\u8fc7\u6062\u590d\u7cfb\u7edf\u91cd\u7f6e\u5bc6\u7801\uff0c\u8bf7\u6309\u7167\u4ee5\u4e0b\u8bf4\u660e\u64cd\u4f5c\uff1a","breadcrumb":{"@id":"https:\/\/www.itpiran.net\/blog\/security\/how-do-i-change-the-root-password-via-the-rescue-system-linux\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.itpiran.net\/blog\/security\/how-do-i-change-the-root-password-via-the-rescue-system-linux\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.itpiran.net\/blog\/security\/how-do-i-change-the-root-password-via-the-rescue-system-linux\/#primaryimage","url":"https:\/\/cdn.itpiran.net\/2023\/12\/27151209\/%DA%86%DA%AF%D9%88%D9%86%D9%87-%D8%B1%D9%85%D8%B2-%D8%B9%D8%A8%D9%88%D8%B1-%D8%B1%DB%8C%D8%B4%D9%87-root-%D8%B1%D8%A7-%D8%A7%D8%B2-%D8%B7%D8%B1%DB%8C%D9%82-%D8%B3%DB%8C%D8%B3%D8%AA%D9%85-%D9%86%D8%AC%D8%A7%D8%AA-%D9%84%DB%8C%D9%86%D9%88%DA%A9%D8%B3-%D8%AA%D8%BA%DB%8C%DB%8C%D8%B1-%D8%AF%D9%87%DB%8C%D9%85%D8%9F.jpg","contentUrl":"https:\/\/cdn.itpiran.net\/2023\/12\/27151209\/%DA%86%DA%AF%D9%88%D9%86%D9%87-%D8%B1%D9%85%D8%B2-%D8%B9%D8%A8%D9%88%D8%B1-%D8%B1%DB%8C%D8%B4%D9%87-root-%D8%B1%D8%A7-%D8%A7%D8%B2-%D8%B7%D8%B1%DB%8C%D9%82-%D8%B3%DB%8C%D8%B3%D8%AA%D9%85-%D9%86%D8%AC%D8%A7%D8%AA-%D9%84%DB%8C%D9%86%D9%88%DA%A9%D8%B3-%D8%AA%D8%BA%DB%8C%DB%8C%D8%B1-%D8%AF%D9%87%DB%8C%D9%85%D8%9F.jpg","width":1793,"height":1110},{"@type":"BreadcrumbList","@id":"https:\/\/www.itpiran.net\/blog\/security\/how-do-i-change-the-root-password-via-the-rescue-system-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.itpiran.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u0627\u0645\u0646\u06cc\u062a","item":"https:\/\/www.itpiran.net\/blog\/category\/security\/"},{"@type":"ListItem","position":3,"name":"\u0686\u06af\u0648\u0646\u0647 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0631\u06cc\u0634\u0647 (root) \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0633\u06cc\u0633\u062a\u0645 \u0646\u062c\u0627\u062a (\u0644\u06cc\u0646\u0648\u06a9\u0633) \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u0645\u061f"}]},{"@type":"WebSite","@id":"https:\/\/www.itpiran.net\/blog\/#website","url":"https:\/\/www.itpiran.net\/blog\/","name":"ITPiran\u535a\u5ba2","description":"\u4f0a\u6717\u53ef\u6301\u7eed\u8d38\u6613\u65b0\u95fb\u548c\u6587\u7ae0","publisher":{"@id":"https:\/\/www.itpiran.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.itpiran.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"https:\/\/www.itpiran.net\/blog\/#organization","name":"\u4f0a\u6717\u53ef\u6301\u7eed\u5546\u4e1a\u535a\u5ba2","alternateName":"ITPIran Blog","url":"https:\/\/www.itpiran.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdn.itpiran.net\/2023\/12\/27150508\/cropped-ITPIRAN-BLOG-LOGO-2.png","contentUrl":"https:\/\/cdn.itpiran.net\/2023\/12\/27150508\/cropped-ITPIRAN-BLOG-LOGO-2.png","width":512,"height":512,"caption":"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/person\/04ed27b919baca468a2273f8e4318f81","name":"\u884c\u653f","url":"https:\/\/www.itpiran.net\/blog\/zh\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.itpiran.net\/blog\/zh\/wp-json\/wp\/v2\/posts\/14102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itpiran.net\/blog\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itpiran.net\/blog\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/zh\/wp-json\/wp\/v2\/comments?post=14102"}],"version-history":[{"count":5,"href":"https:\/\/www.itpiran.net\/blog\/zh\/wp-json\/wp\/v2\/posts\/14102\/revisions"}],"predecessor-version":[{"id":16766,"href":"https:\/\/www.itpiran.net\/blog\/zh\/wp-json\/wp\/v2\/posts\/14102\/revisions\/16766"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/zh\/wp-json\/wp\/v2\/media\/14301"}],"wp:attachment":[{"href":"https:\/\/www.itpiran.net\/blog\/zh\/wp-json\/wp\/v2\/media?parent=14102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/zh\/wp-json\/wp\/v2\/categories?post=14102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/zh\/wp-json\/wp\/v2\/tags?post=14102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}