How to enable root login under ubuntu

First set a password for the root user:

sudo passwd root

Now unlock the root user:

sudo passwd -u root

The root user is now enable:

su - root

Leave a Reply

Your email address will not be published. Required fields are marked *