Wednesday, 14 October 2009 00:00

How to change the root password in Ubuntu

Written by

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.

Read 664 times Last modified on Saturday, 08 November 2014 12:59