As we know, hacking a Linux password is like hitting a ball for six.
Hacking ROOT password is so easy, but sometimes the admins use GRUB password which hardens the security.
Here you can get the trick for hacking/cracking both (ROOT & GRUB) passwords...
The only essential thing is that you should have a Linux boot CD ofthe same operating system for which you want to crack root password.Some other Linux boot CD may work in some cases. If system is able toboot from the CD, it will take you to a command prompt as shown.
boot:
Type ‘linux rescue’ at this command prompt and enter as shown
It will take you to some interface with some questions, answer themproperly. The system will go to temporary command prompt. Then issuethe following commandsboot: linux rescue [Enter]
1
2
3[bash$] chroot /mnt/sysimage [Enter]
[bash$] cd /boot/grub [Enter]
[bash$] vi menu.lst [Enter]
Now in this file you can see a line beginning with the word ‘password’ remove this line and save the file.
1
2[bash$]exit
[bash$]exit
Press ‘e’ at boot screen and again by taking the pointer to thesecond line press e. Now you can see yourself on a command prompt.Remove ‘rhgb quiet’ from there and write single and press enter.
Now you will come back to the boot screen. Press ‘b’ and system willappear to boot and leave you in command line interface like this.
Just type passwd like this-bash2-$
1
2
3
4-bash2-$ passwd [Enter]
new password:
retype new password:
passwd: All authentication updated successfully.
-bash2-$ exit [Enter]
-: 2nd trick for reseting GRUB Password :-
But wonder, what if we can hack it as well.
So, ladies and gentlemen, here v go.
Tsis is the tweak..
GO, follow these steps and hack the charts..
1- Boot system with cd/dvd of RHEL.
2- At splash screen type
boot: linux rescue
3- Choose language, choose keyboard, choose no network setup.
4- Press continue, >>> ok.
5- Type following:
# chroot /mnt/sysimage# vi /etc/grub.conf
6- Remove that password line that we created ago.
Thats it, n u r finished.
1 comments:
bhai tumne to zeher kar diya.
mast hai
Post a Comment