How to Reset Forgotten Root Password in Ubuntu 18.10/18.04/17.10/17.04/16.10/16.04?– The forgotten user or root passwords in the Linux / Ubuntu operating system can be reset without any programming required.
How to Reset Forgotten Root Password in Ubuntu 18.10/18.04/17.10/17.04/16.10/16.04?
If you have forgotten the user or root passwords of the Ubuntu Linux operating system you are using, you do not have to reinstall the Ubuntu operating system. With just a few steps you can complete the Root password reset steps.
You can reset your password in about a minute using the Root Shell method by restarting your computer for Ubuntu password reset. We will use the Ubuntu Recovery Mode to reset forgotten root password in Ubuntu 18.10/18.04/17.10/17.04/16.10/16.04.
How to Fix Forgotten Root Password in Ubuntu 18.10/18.04/17.10/17.04/16.10/16.04?
It is also the same the root password reset process in other Linux Ubuntu operating system versions. For Ubuntu password reset, follow the steps below.
If you turn on your computer and disremember your Ubuntu password, you are probably looking at the screen below. Now restart your computer to reset forgotten user password in Ubuntu.
On your computer’s boot screen, press and hold the Shift key to start the GRUB menu.
The Ubuntu GRUB menu looks like the following. From the Ubuntu GRUB menu, press Enter on the “Advanced options for Ubuntu” option.
Next, press Enter on the option “Ubuntu, with Linux 4.10.0-21-recovery (recovery mode)“. In this step, we will start Recovery Mode for Linux Ubuntu 18.10/18.04/17.10/17.04/16.10/16.04.
Ubuntu recovery mode is starting…
On Ubuntu Recovery Mode, select Root “Drop to root shell prompt“.
In this step, press Enter to switch to the command prompt.
At the root prompt, type mount -o rw, remount / and press Enter.
[email protected]:~# mount -o rw, remount /
In this step you need to type the username you want to reset the password. Using passwd (username) command, set a new password for Ubuntu root password.
[email protected]:~# passwd (User Name)
Finally, restart your computer using the sudo reboot command. After restarting your computer, you can login with your new password.
[email protected]:~# sudo reboot
Linux Ubuntu operating system is restarting…
Once Ubuntu restarts, you can reboot your operating system by selecting Ubuntu if the GRUB menu opens.
How to Reset Forgotten Root Password on Ubuntu ⇒ Video
You can watch how to reset forgotten Root Password in Ubuntu 17.04 and you can also subscribe to our YouTube channel to support us!
If you have lost Ubuntu Root password, you can easily reset your password by following the steps in this article. Thanks for following us!
If this article is helpful, send me feedback by commenting! Thanks in advance, take care of yourself!
Also, you can add to browser bookmarks by pressing the CTRL+D to read this article later!