HAcking THe RoOt....

This was long awaited.. I have always wondered how to hack into the root user of the linux....
Windows password is crackable... you find many methods to hack into the windows administrator...

But linux being one of the most secure OS... i wondered how do we get access into it.. I have been trying to break thru the password in all the computers in my college labs... But i was never succesful... But this day I got the key to open the lock.. so I just wanna share it with you all.....

In this method.. we hack into the root password through the grub....
Being a linux user i assume that you know what a grub is... if you dont then.. in simple words its just a boot loader.. which appears on your screen as soon as you switch on your power button...
It has options to select the different operating Systems that has been installed on your system..
One of the sample grubs looks as shown here...

As soon as you switch on the computer you press one of the arrow keys( up or down ).. to access this grub..

In the grub options you press 'e' to enter the edit mode..

once you enter the edit mode.. you get some 3 lines of text..

select the line that starts with 'kernel'
and press 'e'..
Now you are in the edit mode..
just insert the number 1 at the end of the line....
and press 'b' to boot thru the kernel....

Now this takes you to the single user mode.... you actually get the root user rights... and you get a shell prompt.....
now you can easily change the password.... just type the passwd.. at the shell prompt...

Its asks you for the new password ... you just enter and proceed... It will ask you to enter the new password twice......
After the password is changed.. type exit to reboot the system.
And there you go.. you login into root using your new password.......and enjoy!!!








0 comments:

Post a Comment

 
^ Scroll to Top