Enable root login in Ubuntu
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.
Linux
2011, 2012, abhilash, account, canâ, case, configured, distribution, distributions, doesnâ, Enable, havenâ, ideaâ, installation, installation time, Linux, linux distribution, Login, passwd, password, process, proper password, question, root, root account, root login, root password, setup, sudo, time, ubuntu
Comment on Facebook
1 Comment to “Enable root login in Ubuntu”
-
meabi December 1, 2009 at 7:21 AM

Meet Author
S.Abhilash, started this blog in the later half of 2009 as a self hosting site for all his previous blogging attempts. , My way of writing and frequency of publishing may not be uniform as my resources are my projects nd issues i came across. For the last few years this blog is reacing 100 s of unique visitors each day, thanks wordpress and google for such a perfection in their software and services.
Submit Your Email For Free Updates on New Articles