There is no better way to solve the problems that your computer may present than doing it yourself. Of course, it is not a very simple task, since it requires an investigative spirit to acquire the knowledge that makes this objective possible. A clear example of this is changing the password of your root user in Ubuntu Linux when it has been forgotten.
Each operating system hides a series of tricks that it is worth knowing, since they can both help you solve system problems, and optimize the performance of your computer. And this article is aimed precisely at acquiring that extra knowledge … especially for users of the Ubuntu Linux operating system .
Slowly but surely
In the world of computers, the most popular programs are often more prevalent than those that can be more effective. The same goes for operating systems.
This is not to say that the fact that the vast majority of computers around the world use the Windows operating system is more for popularity than for being really useful.
All because Microsoft has shown that its product was born to be, simply, the best, thanks to the development of different functions and tools that have been adjusted to the needs of its users.
However, operating systems like Linux have lagged a bit, by virtue of the fact that they are not very promoted in the digital market . However, the popularity of this operating system has been growing stealthily in recent years.
Why use Ubuntu Linux?
Ubuntu in its latest versions is one of the most popular and beloved Linux distributions, and no wonder. Its great customization capacity, security standards and better adaptation to different types of computers, makes it attractive to those who explore the use of alternative operating systems to Windows or Mac OS.
In addition to the above, one of the most important qualities is that, as it is free and open source software, its functions and tools are optimized by collaborators from different parts of the world.
It is important to note that Ubuntu is one of the Linux distributions with the largest support community , which guarantees, in some way, both its operation and the resolution of system problems.
Root users on Ubuntu Linux
A peculiar tool within this distribution is that of root users. If you ask yourself: what is this about? They are all those users who have permissions or privileges to access administrative functions of the system.
If you have an application or program on your computer with Ubuntu Linux operating system that requires administrative permissions to run, you will be asked for a password.
Either due to bad memory issues or any other type of incident, it may happen that the password you enter to access these system administrative privileges is incorrect.
Trials and trials with all possible combinations, but the result is the same: error, do not match, wrong. Is there a way to fix it? Of course! And here you will have the necessary indications for it.
Change root password in Ubuntu Linux
To solve this problem, you will only have to pay attention to the instructions that will be shown below, it is a simple process that is carried out through the Linux terminal , so there is no reason to be mortified.
- Restart your computer.
- As soon as the « GRUB « (or bootloader) appears, press the “ESC” key.
- To edit the bootloader, press the “E” key.
- Use the keyboard to scroll to the ” Kernel ” option and press the “E” key again.
- Go to the end of the line of the aforementioned option and type the following command: ” rw init = / bin / bash “
- Hit the “Enter” key.
- Pressing the “B” key will start the system with a terminal for root user.
- In this terminal, you will put: « password username_name «
- Press “Enter” and then confirm the new password.
- Using the ” reboot ” command , restart the computer.
Simple, fast and efficient
Now that you know how to change the password of your root user in Ubuntu Linux when it has been forgotten, you can use your new password to access the administrative privileges of the system and continue using all those applications that require these permissions. Through the Ubuntu terminal, you can do many things, such as even installing packages and applications with commands