How To Become Root In Ubuntu
>> Thursday, December 23, 2010
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 !