{"id":12,"date":"2017-10-08T02:46:00","date_gmt":"2017-10-08T02:46:00","guid":{"rendered":"https:\/\/linuxadmin.melberi.com\/uncategorized\/how-to-reset-fedora-linux-24-roo"},"modified":"2017-10-08T07:23:57","modified_gmt":"2017-10-08T07:23:57","slug":"reset-root-password","status":"publish","type":"post","link":"https:\/\/www.melberi.com\/linuxadmin\/password\/reset-root-password","title":{"rendered":"How To Reset Linux root Password"},"content":{"rendered":"<p>Below you can find the procedure to reset CentOS Redhat Fedora Debian Ubuntu AIX Kali VMWare and any other Linux root Password<\/p>\n<div style=\"text-align: left;\">\n<h3><u><b>Method 1 &#8211; Boot it in Lunux Single Mode<\/b><\/u><\/h3>\n<\/div>\n<ol>\n<li style=\"text-align: left;\">While booting, On the Grub boot menu screen press &#8216;e&#8217;<\/li>\n<li style=\"text-align: left;\">This will enable edit option in the grub menu .<\/li>\n<li style=\"text-align: left;\">Go to the line which contains the word &#8216;<strong>kernel<\/strong>&#8216; and press &#8216;e&#8217; to edit the line<\/li>\n<li style=\"text-align: left;\">Go to end of that line and enter &#8216;<strong>linux single<\/strong>&#8216;<\/li>\n<li style=\"text-align: left;\">Then press &#8216;<strong>esc<\/strong>&#8216; twice and press &#8216;<strong>b<\/strong>&#8216; to boot the system in single mode.<\/li>\n<li style=\"text-align: left;\">Now the system will boot in the single user mode.<\/li>\n<li style=\"text-align: left;\">On the console type: <strong>passwd root<\/strong><\/li>\n<li>Now enter your new root password.<\/li>\n<\/ol>\n<div style=\"text-align: left;\"><\/div>\n<div style=\"text-align: left;\">\n<h3><u><b>Method 2 &#8211; Linux Rescue Mode<\/b><\/u><\/h3>\n<\/div>\n<div style=\"text-align: left;\">Please try out the following steps to change the root password<\/div>\n<ol>\n<li style=\"text-align: left;\">Boot the computer with linux Installation CD.<\/li>\n<li style=\"text-align: left;\">Select\u00a0<strong>linux Rescue mode<\/strong><\/li>\n<li style=\"text-align: left;\">When the #sh prompt is reached, enter the following commands to change the mount point.<br \/>\n<b>#chroot \/mnt\/sysimage<\/b><\/li>\n<li>Now enter the following command to change the root password.<br \/>\n<b>#passwd\u00a0<\/b><\/li>\n<li>Now enter your new password.<\/li>\n<\/ol>\n<div style=\"text-align: left;\"><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Below you can find the procedure to reset CentOS Redhat Fedora Debian Ubuntu AIX Kali VMWare and any other Linux root Password Method 1 &#8211; Boot it in Lunux Single&#8230; <a href=\"https:\/\/www.melberi.com\/linuxadmin\/password\/reset-root-password\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[98],"tags":[],"class_list":["post-12","post","type-post","status-publish","format-standard","hentry","category-password"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"Below you can find the procedure to reset CentOS Redhat Fedora Debian Ubuntu AIX Kali VMWare and any other Linux root Password Method 1 - Boot it in Lunux Single Mode While booting, On the Grub boot menu screen press &#039;e&#039; This will enable edit option in the grub menu . Go to the line\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"admin\"\/>\n\t<meta name=\"msvalidate.01\" content=\"F5B964E0B63F681BBDE95AB72193D75E\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.melberi.com\/linuxadmin\/password\/reset-root-password\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/password\\\/reset-root-password#article\",\"name\":\"How To Reset Linux root Password - Linux How To\",\"headline\":\"How To Reset Linux root Password\",\"author\":{\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/author\\\/admin#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/wp-content\\\/uploads\\\/sites\\\/3\\\/2021\\\/06\\\/MelB.png\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/#articleImage\",\"width\":320,\"height\":320},\"datePublished\":\"2017-10-08T02:46:00+00:00\",\"dateModified\":\"2017-10-08T07:23:57+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/password\\\/reset-root-password#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/password\\\/reset-root-password#webpage\"},\"articleSection\":\"PASSWORD\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/password\\\/reset-root-password#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/category\\\/password#listItem\",\"name\":\"PASSWORD\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/category\\\/password#listItem\",\"position\":2,\"name\":\"PASSWORD\",\"item\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/category\\\/password\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/password\\\/reset-root-password#listItem\",\"name\":\"How To Reset Linux root Password\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/password\\\/reset-root-password#listItem\",\"position\":3,\"name\":\"How To Reset Linux root Password\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/category\\\/password#listItem\",\"name\":\"PASSWORD\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/#organization\",\"name\":\"Linux How To\",\"url\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/wp-content\\\/uploads\\\/sites\\\/3\\\/2021\\\/06\\\/MelB.png\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/password\\\/reset-root-password\\\/#organizationLogo\",\"width\":320,\"height\":320},\"image\":{\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/password\\\/reset-root-password\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/author\\\/admin#author\",\"url\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/author\\\/admin\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/password\\\/reset-root-password#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1ee7acbcab1a0ae6b35481c34cd31ee5c4d15292f5a1e069321cd34f1ceccd11?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"admin\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/password\\\/reset-root-password#webpage\",\"url\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/password\\\/reset-root-password\",\"name\":\"How To Reset Linux root Password - Linux How To\",\"description\":\"Below you can find the procedure to reset CentOS Redhat Fedora Debian Ubuntu AIX Kali VMWare and any other Linux root Password Method 1 - Boot it in Lunux Single Mode While booting, On the Grub boot menu screen press 'e' This will enable edit option in the grub menu . Go to the line\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/password\\\/reset-root-password#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/author\\\/admin#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/author\\\/admin#author\"},\"datePublished\":\"2017-10-08T02:46:00+00:00\",\"dateModified\":\"2017-10-08T07:23:57+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/#website\",\"url\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/\",\"name\":\"Linux How To\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.melberi.com\\\/linuxadmin\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How To Reset Linux root Password - Linux How To","description":"Below you can find the procedure to reset CentOS Redhat Fedora Debian Ubuntu AIX Kali VMWare and any other Linux root Password Method 1 - Boot it in Lunux Single Mode While booting, On the Grub boot menu screen press 'e' This will enable edit option in the grub menu . Go to the line","canonical_url":"https:\/\/www.melberi.com\/linuxadmin\/password\/reset-root-password","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"","webmasterTools":{"msvalidate.01":"F5B964E0B63F681BBDE95AB72193D75E","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.melberi.com\/linuxadmin\/password\/reset-root-password#article","name":"How To Reset Linux root Password - Linux How To","headline":"How To Reset Linux root Password","author":{"@id":"https:\/\/www.melberi.com\/linuxadmin\/author\/admin#author"},"publisher":{"@id":"https:\/\/www.melberi.com\/linuxadmin\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.melberi.com\/linuxadmin\/wp-content\/uploads\/sites\/3\/2021\/06\/MelB.png","@id":"https:\/\/www.melberi.com\/linuxadmin\/#articleImage","width":320,"height":320},"datePublished":"2017-10-08T02:46:00+00:00","dateModified":"2017-10-08T07:23:57+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.melberi.com\/linuxadmin\/password\/reset-root-password#webpage"},"isPartOf":{"@id":"https:\/\/www.melberi.com\/linuxadmin\/password\/reset-root-password#webpage"},"articleSection":"PASSWORD"},{"@type":"BreadcrumbList","@id":"https:\/\/www.melberi.com\/linuxadmin\/password\/reset-root-password#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.melberi.com\/linuxadmin\/#listItem","position":1,"name":"Home","item":"https:\/\/www.melberi.com\/linuxadmin\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.melberi.com\/linuxadmin\/category\/password#listItem","name":"PASSWORD"}},{"@type":"ListItem","@id":"https:\/\/www.melberi.com\/linuxadmin\/category\/password#listItem","position":2,"name":"PASSWORD","item":"https:\/\/www.melberi.com\/linuxadmin\/category\/password","nextItem":{"@type":"ListItem","@id":"https:\/\/www.melberi.com\/linuxadmin\/password\/reset-root-password#listItem","name":"How To Reset Linux root Password"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.melberi.com\/linuxadmin\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.melberi.com\/linuxadmin\/password\/reset-root-password#listItem","position":3,"name":"How To Reset Linux root Password","previousItem":{"@type":"ListItem","@id":"https:\/\/www.melberi.com\/linuxadmin\/category\/password#listItem","name":"PASSWORD"}}]},{"@type":"Organization","@id":"https:\/\/www.melberi.com\/linuxadmin\/#organization","name":"Linux How To","url":"https:\/\/www.melberi.com\/linuxadmin\/","logo":{"@type":"ImageObject","url":"https:\/\/www.melberi.com\/linuxadmin\/wp-content\/uploads\/sites\/3\/2021\/06\/MelB.png","@id":"https:\/\/www.melberi.com\/linuxadmin\/password\/reset-root-password\/#organizationLogo","width":320,"height":320},"image":{"@id":"https:\/\/www.melberi.com\/linuxadmin\/password\/reset-root-password\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/www.melberi.com\/linuxadmin\/author\/admin#author","url":"https:\/\/www.melberi.com\/linuxadmin\/author\/admin","name":"admin","image":{"@type":"ImageObject","@id":"https:\/\/www.melberi.com\/linuxadmin\/password\/reset-root-password#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/1ee7acbcab1a0ae6b35481c34cd31ee5c4d15292f5a1e069321cd34f1ceccd11?s=96&d=mm&r=g","width":96,"height":96,"caption":"admin"}},{"@type":"WebPage","@id":"https:\/\/www.melberi.com\/linuxadmin\/password\/reset-root-password#webpage","url":"https:\/\/www.melberi.com\/linuxadmin\/password\/reset-root-password","name":"How To Reset Linux root Password - Linux How To","description":"Below you can find the procedure to reset CentOS Redhat Fedora Debian Ubuntu AIX Kali VMWare and any other Linux root Password Method 1 - Boot it in Lunux Single Mode While booting, On the Grub boot menu screen press 'e' This will enable edit option in the grub menu . Go to the line","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.melberi.com\/linuxadmin\/#website"},"breadcrumb":{"@id":"https:\/\/www.melberi.com\/linuxadmin\/password\/reset-root-password#breadcrumblist"},"author":{"@id":"https:\/\/www.melberi.com\/linuxadmin\/author\/admin#author"},"creator":{"@id":"https:\/\/www.melberi.com\/linuxadmin\/author\/admin#author"},"datePublished":"2017-10-08T02:46:00+00:00","dateModified":"2017-10-08T07:23:57+00:00"},{"@type":"WebSite","@id":"https:\/\/www.melberi.com\/linuxadmin\/#website","url":"https:\/\/www.melberi.com\/linuxadmin\/","name":"Linux How To","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.melberi.com\/linuxadmin\/#organization"}}]}},"aioseo_meta_data":{"post_id":"12","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-03-11 17:26:44","updated":"2026-10-21 16:12:55","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"_links":{"self":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/12","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/comments?post=12"}],"version-history":[{"count":4,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/12\/revisions"}],"predecessor-version":[{"id":432,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/12\/revisions\/432"}],"wp:attachment":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/media?parent=12"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/categories?post=12"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/tags?post=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}