{"id":432,"date":"2019-08-09T09:34:23","date_gmt":"2019-08-09T16:34:23","guid":{"rendered":"https:\/\/blog.iabsolute.com\/?p=432"},"modified":"2019-08-09T09:34:23","modified_gmt":"2019-08-09T16:34:23","slug":"reset-forgotten-user-password-on-ubuntu-16-04-17-10-18-04","status":"publish","type":"post","link":"https:\/\/blog.iabsolute.com\/?p=432","title":{"rendered":"Reset Forgotten User Password on Ubuntu 16.04 | 17.10 | 18.04"},"content":{"rendered":"\n<p>To reset a user or root password, turn on the desktop or server and begin pressing the <strong>Esc key or Shift<\/strong>&nbsp;on your keyboard as soon as turn push the power button\u2026 to display Ubuntu boot menu. If your timing is wrong and you miss the boot menu, you\u2019ll have to restart the machine and try again until you see the screenshot below\u2026<\/p>\n\n\n\n<p>On the menu, select <strong>*Advanced options for Ubuntu<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/websiteforstudents.com\/wp-content\/uploads\/2018\/05\/ubuntu_reset_user_password.png?w=634&amp;ssl=1\" alt=\"ubuntu reset user password\" class=\"wp-image-18585\"\/><\/figure>\n\n\n\n<p>Next, select <strong>*Ubuntu, with Linux.x.x-generic (recovery mode) ..&nbsp;<\/strong>select the recovery mode for the same Grub version as the default\u2026 they both should have the same version number\u2026<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i2.wp.com\/websiteforstudents.com\/wp-content\/uploads\/2018\/05\/ubuntu_reset_user_password_1.png?w=633&amp;ssl=1\" alt=\"ubuntu user reset password\" class=\"wp-image-18586\"\/><\/figure>\n\n\n\n<p>Next, use the scroll key and scroll down on the list and select root as shown on the screen below, then press the <strong>Enter key<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/websiteforstudents.com\/wp-content\/uploads\/2017\/07\/ubuntu_user_reset_2.png?w=739&amp;ssl=1\" alt=\"\" class=\"wp-image-16605\"\/><\/figure>\n\n\n\n<p>Next, run the commands below to mount the shell with read \/ write permissions<\/p>\n\n\n\n<p><code>mount -rw -o remount \/ <\/code><\/p>\n\n\n\n<p>After running the above commands, the shell should be remounted with read\/write permissions. Now you can run limited sets of commends, including password change commands for user and root.<\/p>\n\n\n\n<p>To reset a user password, run the commands below, replacing username with the real account name or the user.<\/p>\n\n\n\n<p><code>sudo passwd username<\/code><\/p>\n\n\n\n<p>When you run the above commands, you\u2019ll be prompted to create and confirm a password for the account name you mentioned. create it and you\u2019re done.<\/p>\n\n\n\n<p>Next, type <strong>reboot<\/strong> to restart the desktop or server and begin using the new password you just created.<\/p>\n\n\n\n<p>This is how one resets a user or root password on Ubuntu servers and desktop.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To reset a user or root password, turn on the desktop or server and begin pressing the Esc key or Shift&nbsp;on your keyboard as soon as turn push the power button\u2026 to display Ubuntu boot menu. If your timing is &hellip; <a href=\"https:\/\/blog.iabsolute.com\/?p=432\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,3],"tags":[],"class_list":["post-432","post","type-post","status-publish","format-standard","hentry","category-my-linux","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/432","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=432"}],"version-history":[{"count":1,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/432\/revisions"}],"predecessor-version":[{"id":433,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/432\/revisions\/433"}],"wp:attachment":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=432"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=432"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}