How to reset the root password in Ubuntu
Submitted by Koder on Wed, 07/15/2009 - 03:14
Before I start, I will like to mention a couple of things which might come as a surprise to even a not so newbie user on Ubuntu. By default, you will need "sudo" (stands for substitute user) privileges to install or change any system level programs or features due to security. This password will be the same as the password you had set when installing Ubuntu. Root is a different user altogether, some folks tend to thing that by default Ubuntu does not have a password set for root, thats why when you do the "su" command and try and provide the root password, it never works. This is a misconception, root always has a password but its not revealed by default, because Ubuntu designers do not want you to be logging on as root for good security practices. |
Step 2: - Pressing ESCape in the previous step will bring you the menu as shown here |
Step 3: - Highlight the line that begins with the word "kernel" then press 'e' on your keyboard to edit it |
Step 4: - Now add the following at the end of the line that you are editing, exactly, without the quotes "init=/bin/bash" and hit enter |
Step 5: - You will now be sitting at the shell prompt logged on as root without specifying a password |
- Add new comment
- 6638 reads
-


reply to comment