Menu Close

How to change the root password in Ubuntu

As default Ubuntu has no password set for the root user.

To gain root access you have to type in your own user password.

This is the password you set for the first user while installing Ubuntu.

 

To manually set a password for the root user, type in the following in the shell:

sudo passwd 

After that you are asked to type in the new root password twice.

 

Finally, your root user has its own password.

Posted in Linux, News

Leave a Reply

Your email address will not be published. Required fields are marked *