{"id":25185,"date":"2024-02-26T10:13:29","date_gmt":"2024-02-26T10:13:29","guid":{"rendered":"https:\/\/linuxways.net\/?p=25185"},"modified":"2024-02-26T10:13:29","modified_gmt":"2024-02-26T10:13:29","slug":"reset-forgotten-password-linux-mint-21","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/mint\/reset-forgotten-password-linux-mint-21\/","title":{"rendered":"How to Reset Forgotten Password on Linux Mint 21"},"content":{"rendered":"<p>Linux Mint is a multiuser operating system just like other Linux distributions. It can have multiple users with their own user accounts and each user manages their password for their account. When users create an account on Linux Mint, they set their password that can be changed later whenever they want.<\/p>\n<p>Sometimes, users may forget their current user password and be unable to log in to their account. In such a circumstance, they can reset\/change their password to recover their account.<\/p>\n<p>This guide will demonstrate the methods to reset the forgotten user and root passwords on Linux Mint.<\/p>\n<p><strong>Quick Outline<\/strong><\/p>\n<ul>\n<li><a href=\"#post-25185-_d8jkyo4wadno\"><strong>How to Reset\/Change Forgotten Password on Linux Mint 21<\/strong><\/a><\/li>\n<li><a href=\"#post-25185-_orzx51h3d36f\"><strong>Reset\/Change Forgotten User Password<\/strong><\/a><\/li>\n<li><a href=\"#post-25185-_vyqmsuvxoi48\"><strong>Reset\/Change Forgotten Root and User Password<\/strong><\/a><\/li>\n<li><a href=\"#post-25185-_t0xb8bfgb7k3\"><strong>Final Thoughts<\/strong><\/a><\/li>\n<\/ul>\n<h2><a id=\"post-25185-_d8jkyo4wadno\"><\/a>How to Reset\/Change Forgotten Password on Linux Mint 21<\/h2>\n<p>You can reset the forgotten user password or root password on Linux Mint through the \u201c<strong>GNU Grub<\/strong>\u201d boot loader. The \u201cGNU Grub\u201d enables users to access recovery mood or modify the boot parameters on the system. To access the \u201c<strong>GNU GRUB<\/strong>\u201d boot loader menu, you have to reboot your system, press the \u201c<strong>shift<\/strong>\u201d key, and hold it until you access it.<\/p>\n<h3><a id=\"post-25185-_orzx51h3d36f\"><\/a>Reset\/Change Forgotten User Password<\/h3>\n<p>The user password is the password that users set while creating their account on Linux Mint. If you forget your password and enter the wrong password while logging in to the system, you will not be able to log in and access your system.<\/p>\n<p>To reset\/change the forgotten user password on the Linux Mint system, follow the provided instructions:<\/p>\n<p>In the \u201c<strong>GNU GRUB<\/strong>\u201d menu, choose the \u201c<strong>Advanced options<\/strong>\u201d option using the arrow keys and hit the \u201c<strong>enter<\/strong>\u201d key:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"641\" height=\"481\" class=\"wp-image-25189\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-1.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-1.png 641w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-1-300x225.png 300w\" sizes=\"auto, (max-width: 641px) 100vw, 641px\" \/><\/p>\n<p>Next, select the below-highlighted \u201c<strong>recovery mode<\/strong>\u201d option and press the \u201c<strong>enter<\/strong>\u201d key to open it:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"450\" class=\"wp-image-25190\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-2.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-2.png 640w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-2-300x211.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>In the \u201c<strong>Recovery Menu<\/strong>\u201d, select the \u201c<strong>root<\/strong>\u201d option with the help of the arrow keys and hit the \u201c<strong>enter<\/strong>\u201d key:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"720\" height=\"401\" class=\"wp-image-25192\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-3.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-3.png 720w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-3-300x167.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/p>\n<p>Subsequently, you will get the root shell and the system will prompt you to enter the root password. Provide the root password of your system to continue further:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"449\" class=\"wp-image-25194\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-4.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-4.png 723w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-4-300x186.png 300w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><\/p>\n<p>Now, reset the password of the specific user using the \u201c<strong>passwd &lt;username&gt;<\/strong>\u201d command and specify the desired user name to reset its password. Here, we are resetting the password of \u201c<strong>linuxways<\/strong>\u201d user:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">passwd<\/span> linuxways<\/div><\/div>\n<p>By running the above command, it will prompt you to enter\/provide the new password. Specify the new password, and hit \u201c<strong>enter<\/strong>\u201d. Then, retype the password and hit \u201c<strong>enter<\/strong>\u201d key again:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"732\" height=\"347\" class=\"wp-image-25196\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-5.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-5.png 732w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-5-300x142.png 300w\" sizes=\"auto, (max-width: 732px) 100vw, 732px\" \/><\/p>\n<p>By doing so, the user password will be reset and updated successfully:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"727\" height=\"376\" class=\"wp-image-25198\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-6.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-6.png 727w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-6-300x155.png 300w\" sizes=\"auto, (max-width: 727px) 100vw, 727px\" \/><\/p>\n<p>After that, execute the following command to exit from the root shell:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw3\">exit<\/span><\/div><\/div>\n<p>Next, choose the \u201c<strong>resume<\/strong>\u201d option to continue rebooting the system:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"722\" height=\"410\" class=\"wp-image-25205\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-7.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-7.png 722w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-7-300x170.png 300w\" sizes=\"auto, (max-width: 722px) 100vw, 722px\" \/><\/p>\n<p>Select \u201c<strong>OK<\/strong>\u201d to exit the recovery mode:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"722\" height=\"408\" class=\"wp-image-25209\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-8.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-8.png 722w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-8-300x170.png 300w\" sizes=\"auto, (max-width: 722px) 100vw, 722px\" \/><\/p>\n<p>Finally, enter the new user password to unlock your system:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"799\" height=\"489\" class=\"wp-image-25213\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-9.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-9.png 799w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-9-300x184.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-9-768x470.png 768w\" sizes=\"auto, (max-width: 799px) 100vw, 799px\" \/><\/p>\n<p>As you can see, the new password worked and we have successfully logged in to our Linux Mint system:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"803\" height=\"550\" class=\"wp-image-25216\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-10.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-10.png 803w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-10-300x205.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-10-768x526.png 768w\" sizes=\"auto, (max-width: 803px) 100vw, 803px\" \/><\/p>\n<h3><a id=\"post-25185-_vyqmsuvxoi48\"><\/a>Reset\/Change Forgotten Root and User Password<\/h3>\n<p>In the above method, we have reset the forgotten user password when we know the root password. But in case, you do not even remember the root password, you can use this method to reset\/change the root password and user password using the following steps:<\/p>\n<p>First, reboot your machine and enter the GRUB Menu. Once the GNU GRUB menu appears, hold the \u201c<strong>shift<\/strong>\u201d key until you access the \u201c<strong>GNU GRUB<\/strong>\u201d boot loader menu. Then, press the \u201c<strong>e<\/strong>\u201d key from the keyboard to edit the commands:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"666\" height=\"442\" class=\"wp-image-25221\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-11.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-11.png 666w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-11-300x199.png 300w\" sizes=\"auto, (max-width: 666px) 100vw, 666px\" \/><\/p>\n<p>In the edit mode, use the arrow keys to reach the line that starts with \u201c<strong>linux<\/strong>\u201d and write \u201c<strong>rw init=\/bin\/bash<\/strong>\u201d at its end. It will start the bash shell with read and write access to the file system:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"704\" height=\"418\" class=\"wp-image-25225\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-12.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-12.png 704w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-12-300x178.png 300w\" sizes=\"auto, (max-width: 704px) 100vw, 704px\" \/><\/p>\n<p>Then, press \u201c<strong>f10<\/strong>\u201d or \u201c<strong>Ctrl-x<\/strong>\u201d to boot the system. You will get the root shell as shown in the below screenshot:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"695\" height=\"178\" class=\"wp-image-25230\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-13.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-13.png 695w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-13-300x77.png 300w\" sizes=\"auto, (max-width: 695px) 100vw, 695px\" \/><\/p>\n<p>Now, change the root password by executing the below-provided command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">passwd<\/span> root<\/div><\/div>\n<p>Upon doing so, the root password will be changed successfully:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"693\" height=\"174\" class=\"wp-image-25235\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-14.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-14.png 693w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-14-300x75.png 300w\" sizes=\"auto, (max-width: 693px) 100vw, 693px\" \/><\/p>\n<p>To change the user password, simply run the \u201c<strong>passwd &lt;username&gt;<\/strong>\u201d command and specify the desired username to reset its password. Here, we are changing the password of the \u201c<strong>linuxways<\/strong>\u201d user:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">passwd<\/span> linuxways<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"682\" height=\"129\" class=\"wp-image-25237\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-15.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-15.png 682w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-15-300x57.png 300w\" sizes=\"auto, (max-width: 682px) 100vw, 682px\" \/><\/p>\n<p>Finally, exit the root shell by running the given command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw3\">exit<\/span><\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"678\" height=\"65\" class=\"wp-image-25240\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-16.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-16.png 678w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/02\/word-image-25185-16-300x29.png 300w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/p>\n<p>We have efficiently changed the root password and user password. This indicates that we can now unlock our Linux Mint system easily.<\/p>\n<h2><a id=\"post-25185-_t0xb8bfgb7k3\"><\/a>Final Thoughts<\/h2>\n<p>While working on your Linux Mint system, you may forget your user password or root password. Linux Mint allows you to reset the forgotten password of your system from the \u201cGNU GRUB\u201d boot loader menu. In the GRUB menu, you can modify the boot parameters or enter the root shell (through recovery mode) to reset the password.<\/p>\n<p>This guide has explained the methods to reset the forgotten user and root passwords on Linux Mint.<\/p>","protected":false},"excerpt":{"rendered":"<p>You can reset the forgotten user password of your Linux Mint system from the \u201cGNU GRUB\u201d boot loader menu.<\/p>","protected":false},"author":112,"featured_media":25306,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-25185","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mint"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/25185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/112"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=25185"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/25185\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/25306"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=25185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=25185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=25185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}