Enable root login in Ubuntu

1
11
As you have noticed during the Ubuntu installation there was no question about the root password, as you might have been used to see during other Linux distribution installation process. This is why the root account is inactive and can’t be used (no password configured) until we will setup a proper password for it. To do this, we simply need to run:
sudo passwd root
This will ask for a new root password and once you confirm it, you can start using the root account to login.
In case you will want to disable back the root account, just lock the root account by running:
sudo passwd -l root
Are you aware of any other Linux distribution that doesn’t enable the root account at installation time? I am just curious because I believe that this is a great idea… but I haven’t seen it implemented in other distributions.

As you have noticed during the Ubuntu installation there was no question about the root password, as you might have been used to see during other Linux distribution installation process. This is why the root account is inactive and canot be used (no password configured) until we will setup a proper password for it. To do this, we simply need to run:

sudo passwd root

This will ask for a new root password and once you confirm it, you can start using the root account to login.

In case you will want to disable back the root account, just lock the root account by running:

sudo passwd -l root

Are you aware of any other Linux distribution that doesot enable the root account at installation time? I am just curious because I believe that this is a great idea but I haven’t seen it implemented in other distributions.

SHARE
Next articleMSSQL Client For Linux
abhilash, is a programmer by profession and a technology addict with a passion towards browsing , shopping and imaging . My views may be biased on reviews. all images and videos are copyrighted to respective owners.

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here