Wednesday, 24 April 2013

Linux:How to crack root password


Following are the steps to crack ROOT password in Linux

1.Interrupt the boot process by pressing any key

2.Press e to edit the commands before booting.

3.Choose the Kernel command line option and press e.

4.Append “init=/bin/sh” at the end of line and press enter

5.Press b to boot

6.It will stop the boot process in between and shows a command prompt with the user as root.

7.Execute df -h

8.Remount the file system of root with read-write option:
mount -o rw,remount /dev/mapper/System-root /

9.Execute “passwd” command and enter the new password for root

10.Reboot the machine

No comments:

Post a Comment