Ubuntu: how to set the root password

person Jason Huangfolder_openUbuntulocal_offer, , , access_time February 20, 2016

From time to time you want to use root password, however in ubuntu you did not set one up yet during the installation.

To set the root password, open a terminal, in the command line:

sudo su

using sudo su prompts you for your default user password (which you setup during the installation), type in your password. Now you have root access.

Then you can use command:

passwd

then follow the prompt to set a root password.

warningComments are closed.