{"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\/en\/security\/how-do-i-change-the-root-password-via-the-rescue-system-linux\/","title":{"rendered":"How to change root password via rescue system (Linux)?"},"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>How to change root password via rescue system (Linux)?<\/strong><\/h2>\n<p style=\"text-align: justify;\">If you have forgotten or lost your root password and want to reset it via Rescue System, please follow these instructions:<\/p>\n<p style=\"text-align: justify;\">1.) Start your server in Rescue Mode and go to the dedicated server administration. There you activate the \u201cStart rescue mode\u201d function. After the rescue system has been successfully started, the master password for rescue mode will be displayed at this point in the Central Customer Management (ZKM).<\/p>\n<p style=\"text-align: justify;\">2.) Use this password to establish an SSH connection with the Rescue System (on Windows you can use the \u201cPutty\u201d client).<\/p>\n<p style=\"text-align: justify;\">3.) Once connected via SSH, enter one of the following commands to find your root partition (the largest partition is usually the desired root partition):<\/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>Once you have identified the system partition, mount it:<\/strong><\/p>\n<p style=\"text-align: justify;\">Without software RAID (\/dev\/sda1 may be different):<\/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;\">With software RAID (\/dev\/md0 may be different):<\/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) Now that you have your disk mounted, mount \u201cprocfs\u201d and \u201cdevfs\u201d:<\/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.) Use the \u201cchroot\u201d command to log into your system and change your password:<\/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.) You should now be logged in. You can now change the password with passwd:<\/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>Note:<\/strong> You will now be asked twice to enter the new password, whereas entering a Linux password usually displays nothing.<\/p>\n<p style=\"text-align: justify;\">7.) Now that the password has been successfully changed, remove the mounted disks and log out of your system with the following command:<\/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;\">Return to the root directory with:<\/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;\">Now delete the existing directories one by one again:<\/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.) Now reset the rescue mode in the Central Customer Management (ZKM) and restart the system by rebooting.<\/p>\n<p style=\"text-align: justify;\">9.) You can now use the newly set password to log in via SSH.<\/p>","protected":false},"excerpt":{"rendered":"How to change the root password via the rescue system (Linux)? If your root password\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\/en\/security\/how-do-i-change-the-root-password-via-the-rescue-system-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\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\/en\/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=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\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\":\"en-US\",\"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\":\"en-US\",\"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\":\"en-US\",\"@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\":\"en-US\"},{\"@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\":\"en-US\",\"@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\\\/en\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to change root password via rescue system (Linux)? - ITPiran Blog","description":"If you have forgotten your root password and want to reset it via Rescue System, please follow these instructions:","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\/en\/security\/how-do-i-change-the-root-password-via-the-rescue-system-linux\/","og_locale":"en_US","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\/en\/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":{"Written by":"admin","Est. reading time":"3 minutes"},"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":"en-US","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":"How to change root password via rescue system (Linux)? - ITPiran Blog","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":"If you have forgotten your root password and want to reset it via Rescue System, please follow these instructions:","breadcrumb":{"@id":"https:\/\/www.itpiran.net\/blog\/security\/how-do-i-change-the-root-password-via-the-rescue-system-linux\/#breadcrumb"},"inLanguage":"en-US","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":"en-US","@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 Blog","description":"Iranian Sustainable Trade News and Articles","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":"en-US"},{"@type":"Organization","@id":"https:\/\/www.itpiran.net\/blog\/#organization","name":"Sustainable Iranian Business Blog","alternateName":"ITPIran Blog","url":"https:\/\/www.itpiran.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@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\/en\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.itpiran.net\/blog\/en\/wp-json\/wp\/v2\/posts\/14102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itpiran.net\/blog\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itpiran.net\/blog\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/en\/wp-json\/wp\/v2\/comments?post=14102"}],"version-history":[{"count":5,"href":"https:\/\/www.itpiran.net\/blog\/en\/wp-json\/wp\/v2\/posts\/14102\/revisions"}],"predecessor-version":[{"id":16766,"href":"https:\/\/www.itpiran.net\/blog\/en\/wp-json\/wp\/v2\/posts\/14102\/revisions\/16766"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/en\/wp-json\/wp\/v2\/media\/14301"}],"wp:attachment":[{"href":"https:\/\/www.itpiran.net\/blog\/en\/wp-json\/wp\/v2\/media?parent=14102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/en\/wp-json\/wp\/v2\/categories?post=14102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/en\/wp-json\/wp\/v2\/tags?post=14102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}