Julia asked this 5 years ago

Default root password in Ubuntu

What is the default password for root user account in Ubuntu?

I installed Ubuntu version 18.04 and nowhere during the setup process was i asked to set a password for the root user.


Julia 4 years ago

Thanks everyone..Is there anyway I can unlock /enable the root user account?

Anwar 4 years ago

You cannot login to Ubuntu with user id root neither can you switch user using su - command.


Jake 4 years ago

The root account is locked by default in Ubuntu. For administrative tasks you have to use the sudo command.

sudo followed by the command that you want to run.

Guest 5 years ago
Some ubuntu flavours use sudoers