
{"id":4301,"date":"2014-11-28T14:16:32","date_gmt":"2014-11-28T14:16:32","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=4301"},"modified":"2014-11-29T08:07:19","modified_gmt":"2014-11-29T08:07:19","slug":"reset-user-password-ubuntu-14-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2014\/11\/reset-user-password-ubuntu-14-04\/","title":{"rendered":"How to Reset Your Forgotten User Password in Ubuntu 14.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/10\/Ubuntu-tips.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/10\/Ubuntu-tips.png\" alt=\"reset user password ubuntu\" width=\"250\" height=\"250\" class=\"aligncenter size-full wp-image-4141\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/10\/Ubuntu-tips.png 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/10\/Ubuntu-tips-150x150.png 150w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>Lost your Ubuntu user password? Well, it&#8217;s not hard to reset your password even you&#8217;ve forgot the username and below is how to do it step by step.<\/p>\n<p><b>1.<\/b> To get started, you need to boot into <i>Recovery Mode<\/i> to get a console for running commands.<\/p>\n<p>Start your machine and when you&#8217;re at the Grub boot loader, select boot with the entry says something below. You may find it under &#8220;Advanced Options for Ubuntu&#8221; option:<\/p>\n<p style=\"text-align:center;\"><b>Ubuntu, with Linux 3.x.x &#8230; (recovery mode)<\/b><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/select-recovery-mode.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/select-recovery-mode.jpg\" alt=\"Boot recovery mode\" width=\"600\" height=\"249\" class=\"aligncenter size-full wp-image-4303\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/select-recovery-mode.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/select-recovery-mode-300x124.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>If you don&#8217;t see the grub menu, press and hold the <b>Shift<\/b> key after you pressed the Power button to boot the computer.<\/p>\n<p><b>2.<\/b> In the Recovery Mode options list, select &#8220;root Drop to root shell prompt&#8221; and hit Enter. You should see the black and white command prompt at the end of the screen:<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/recovery-mode.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/recovery-mode.jpg\" alt=\"Recovery Mode Root Prompt\" width=\"600\" height=\"317\" class=\"aligncenter size-full wp-image-4302\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/recovery-mode.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/recovery-mode-300x158.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>3.<\/b> Now run below commands one by one:<\/p>\n<ul>\n<li>First remount the file system with read &#038; write permission:\n<pre style=\"border:none;\">mount -o rw,remount \/<\/pre>\n<\/li>\n<li>If you don&#8217;t remember the username, below command will show you:\n<pre style=\"border:none;\">ls \/home<\/pre>\n<\/li>\n<li>To change user password:\n<pre style=\"border:none;\">passwd USER_NAME_HERE<\/pre>\n<p>Replace USER_NAME_HERE with your username. When it prompts, type in a new password and confirm. <\/li>\n<\/ul>\n<p>The output &#8220;passwd: password updated successfully&#8221; means user password has been successfully reset.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/reset-password.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/reset-password.jpg\" alt=\"Reset Password\" width=\"600\" height=\"276\" class=\"aligncenter size-full wp-image-4304\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/reset-password.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/reset-password-300x138.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Finally run command <code>exit<\/code> to back to menu (picture in step 2) and select &#8220;resume Resume normal boot&#8221; to exit Recovery Mode.<\/p>","protected":false},"excerpt":{"rendered":"<p>Lost your Ubuntu user password? Well, it&#8217;s not hard to reset your password even you&#8217;ve forgot the username and below is how to do it step by step. 1. To get started, you need to boot into Recovery Mode to get a console for running commands. Start your machine and when you&#8217;re at the Grub [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1177],"class_list":["post-4301","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-reset-password"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/4301","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=4301"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/4301\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=4301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=4301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=4301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}