Julia asked this 11 months 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.


Guest 10 months ago
Some ubuntu flavours use sudoers 
Jake 6 months 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.

Anwar 6 months ago

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


Julia 6 months ago

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