Tuesday, July 5, 2011

How to enable the root account in Ubuntu

Ubuntu is one of the few Linux distributions out there that will not enable the root account.In case you want to enable root login on your Ubuntu system this post will show you how you can do that.

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 distributioninstallation process. This is why the root account is inactive andcan’t be used (no password configured) until we will setup a properpassword 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 tdisable 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 enablethe root account at installation time? I am just curious because Ibelieve that this is a great idea… but I haven’t seen it implemented inother distributions.

http://www.neowin.net/forum/topic/524651-how-to-enable-the-root-account-in-ubuntu/

No comments:

Post a Comment