Julia asked this 1 year 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 1 year ago

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

Anwar 1 year ago

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

Jake 1 year 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 1 year ago
Some ubuntu flavours use sudoers