How to reset the login password in Ubuntu20.4.1

To reset the login password on Ubuntu 20.4.1

Introduction :

Ubuntu is a Linux distribution that depends on Debian and composed of free and open-source software. It is formally published in three editions, Desktop, Server, and Core for the Internet of things devices and robots.

Steps:

If you forgot your password, restart your Ubuntu machine.

While your system is rebooted, press the "shift” key to access the grub menu. Choose Ubuntu from it. And press the letter “e" on your keyboard. It lets you to edit the commands. Place the mouse on the boot line to remove it. Replace the bootline with " rw init=/bin/bash” Once it is done, press f10 or ctrl+x to start the boot process

Use the“ passwd” command to reset the password. Your password is reset. Reboot your machine and enter your new password. With this method the password reset process on Ubuntu comes to an end.

Tag : Ubuntu
FAQ
Q
How do I start UFW in Ubuntu?
A
To do this, open the UFW configuration with nano or your favorite editor. Save and close the file. Now, when UFW is enabled, it will be configured to write both IPv4 and IPv6 firewall rules. However, before enabling UFW, we will want to ensure that your firewall is configured to allow you to connect via SSH.
Q
What are the disadvantages of Ubuntu?
A
Limited Functionality Due to Limited Applications.
Also Has Limited and Unimpressive Game Titles.
Problems About Software and Hardware Compatibility.
There Are Better Linux Operating System Alternatives.
Issues About Commercialization Versus Open Source.
Q
Why Linux has no virus?
A
Some people believe that Linux still has a minimal usage share, and Malware is aimed at mass destruction. No programmer will give his valuable time, to code day and night for such a group, and hence Linux is known to have little or no viruses.
Q
Is Ubuntu good for daily use?
A
Ubuntu used to be much more difficult to deal with as a daily driver, but today it is quite polished. Ubuntu provides a faster and more streamlined experience than Windows 10 for software developers, particularly those in the Node.
Q
What is Ubuntu?
A
Ubuntu is a Linux-based operating system. It is designed for computers, smartphones, and network servers. The system is developed by a UK based company called Canonical Ltd. All the principles used to develop the Ubuntu software are based on the principles of Open Source software development.