How To Become Root In Ubuntu

>> Thursday, December 23, 2010

As in Linux the admin rights are not given to every user who log-in to the system and by default Ubuntu has no password set for the ‘root user’. But there could be some reasons and time when root login is needed to perform some tasks like software installation or changing the computer’s configuration.
Being a root gives you the administrator rights and you could perform various things which are normally forbidden like changing or deleting everything from the system.
So assuming that you have full understanding of the consequences you might face by using root privileges wrongly in your system , hereby I am mentioning a simple way to set up ‘root password’ for your Ubuntu system.
Step 1 : First of all fire up the terminal by pressing the key combination of 'Ctrl+Alt+T'
Step 2 : In the terminal type sudo passwd 
and press 'Enter' ,you will get the screen like this ;

Step 3 : Next system will ask for your current system password so provide it (though you can't see it while typing but it is there ) and press 'Enter'
Step 4 : In the next line System will ask to enter the new password for root , so provide the new root password by typing it , it will again ask you to enter the new password to confirm it.
Hurray !! You have successfully setup the ‘root password’ for your Ubuntu system now.
Step 5 : Log out from your current logon and choose ‘other’ in the login window.
Step 6 : Enter ‘root’ in the username field and enter your new password in the password field to login as ‘root user’ in the system.
Word of Caution :
Be very careful while using ‘root user’ and be a ‘root’ only when absolutely necessary. Do the things only when you know what you are doing , or you could seriously mess up your Linux system.
So this was a quick way to set up a root user password for your Ubuntu system. Enjoy !

Post a Comment

About This Blog

This blog is intended to be a one stop solution for any new Linux user to facilitate smooth switch from Windows to Linux world. Here you can find all the tips & tricks to resolve very common as well as complex problems that you could face as a new user working with Linux for the first time. We tried to present all the information in easy to follow step-by-step guides to resolve the issues & help you to get most out of your Linux. If there is anything that you would think of sharing to benefit other Linux users or like to suggest anything to make this blog more informative then you are most welcome.

And last but not the least, I would like to dedicate this blog to someone special who have always been my inspiration for writing..

All-the-Best!

Which is most user friendly Linux System ?

Our Blogger Templates Web Design

  © Blogger template Webnolia by Ourblogtemplates.com 2009

Back to TOP