How to Reset Forgotten Root Password in Ubuntu? – The forgotten user or Root passwords in Linux / Ubuntu operating system can be reset without any programming required.
How to Reset Forgotten Root Password in Ubuntu?
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 17.04.
Resetting Passwords in Ubuntu 16.04 / 16.10 / 17.04 / 17.10
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 17.04.
Ubuntu recovery mode is starting…
On Ubuntu 17.04 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 17.04 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 in 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!
How to Reset Forgotten Root Password in Ubuntu? – If you have lost Ubuntu Root password, you can easily reset your password by following the steps in this article.
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!