Monday, September 7, 2009

Crack root password on Mac OS X. Change the password or find it.

Here is a technique to change or get the root password on an apple computer running Mac OS X.

1- Restart your computer in single user mode by holding the CMD+S key at the booting.

2- Type : /sbin/mount -wu / to mount the hard drive

3- Type : /sbin/SystemStarter to start the network services

4- Now you have to choice :

a) Change root password : passwd root

b) Get the root by password :
b.1) Type : nidump passwd
b.2) Now write the line looking like root:rQkFQ37SYveHw:0:0::0:0:System Administrator:/var/root:/bin/tcsh in a text file and crack it with a cracking program like John the Ripper.

No comments:

Post a Comment