Welcome to my site. Please CLICK HERE to give your opinions regarding this new look of "PCTipsbyAnu". Thanks for visiting.

Thursday, July 7, 2011

How to hack Ubuntu ROOT password?



Here is a way to reset or hack superuser password, provided you have physical access to reboot the system and username. All you need to do is just reboot the system and then follow these instructions.

Before the Ubuntu splash screen, a GRUB menu appears with different mode of booting the Ubuntu Linux. 
We can follow two ways to reset the password starting from the grub menu.

Method - 1 (easy)

After rebooting our system, you will find Ubuntu, Linux (recover mode), as second option on GRUB menu.
 Boot the system in recovery mode. 

Once you boot the system Recovery Menu will appear, now select  "Drop to root shell prompt " ( with or without networking)" 
and press ->enter key, it will take you to shell prompt with root access.

In command line Type 



# passwd username  //command to reset your password.


Type your new password for the username and then press enter.



# Sync   //if necessary




# reboot -f  //command to reboot the system




Method - 2 (Advance)

After rebooting our system, hold on to first option i.e. default on the grub menu (Ubuntu, Linux 2.-- Generic) 
and then Press "e" to edit.
Look out for line that contains "ro quiet splash" and move the cursor using arrow keys and go to that line,  simply replace "ro quiet splash" with "rw init=/bin/bash" without double quotes and then use CTRL + X to boot the system. 

Now the system will boot to root shell.

In command line Type 



# passwd root  //command to reset your password.


Type your new password for the username and then press enter.



# Sync




# reboot -f  //command to reboot the system


Reboot the system normally and at the login screen enter the new password, it will allow you to login....
Thanks...
You can leave a response, or trackback from your own site.

About 'Anu': My name is 'Anu' also Known as 'ANU 007 TIGER' .I'm administrator of 'PC Tips by Anu' blog .This blog was opened for sharing contents about hacking n cracking.
Thanks YAHOO OR GMAIL

0 comments:

Post a Comment

 
Back to Top