How to easily set root Password on Linux / Ubuntu / Debian / Linux mint Operating systems

by WebDataTips
How to set root password on Ubuntu

When you give the Linux operating system, then the root password in many versions is set when you provide the operating system, such as Ubuntu, Debian. Operating again You don’t have to pay when you give the system. After the operating system is on, you have to set it. If not Open in terminal said, file change or access said these are the problems to wear.
For this, you can easily set the root password with cmd or open in terminal Can.

How to easily set root password on Linux / Ubuntu / Debian / Linux mint operating systems :

Step 1 :

First, go to the desktop and click the right mouse button, open in Terminal click.

linux os cmd commands

Step 2:
Then, type the command

$ sudo passwd root

Then give your user / OS password.

Then give the new password which will be the root password
then set the Retype password (which was given as the root password)

Then the password updated successfully this article will come.

passwd: password updated successfully

Now check if your root password is set correctly.

Step 1 :

First, go to the desktop and click the right mouse button, open in Terminal
Click.

Step 2 :

Then, type the command

$ su

Then enter the root password that you have set.
Then root@rasel will be written like this, and then you will understand that the password has been set.
And if not set.

$ Authentication failure

Will give this message.


I hope you understand, and you will benefit a lot. I hope you will find some short tips on Linux os regular blog. Get updates
Like our social page.

0 comment
0

Related Articles

Leave a Comment