Enable root account in Ubuntu

Ubuntu disables the root account by default. One simple command can re-enable it:

sudo passwd root

To switch to the root user in the shell:

su

Alternatively, you can switch to the root user in the shell without enabling the user account by using the following command:

sudo -s

0 Responses to “Enable root account in Ubuntu”


  • No Comments

Leave a Reply