1. wget http://openwall.com/john/john-1.6.tar.gz
2. tar zxvf john-1.6.tar.gz
3. cd john-1.6/src
4. make linux-x86-any-elf
5. cd ../run (change to directory containing john executable)

Note: if you are using shadow passwords (very likely on any modern UNIX system), you will need access to the /etc/shadow file on the target system. /etc/shadow contains the password hash needed to crack the password and is by default only readable and writable by the root user.


To crack a UNIX shadow file named shadow using John's default order of cracking modes: 

./john shadow

    Source: geocities.com/ijookeren/localexp

               ( geocities.com/ijookeren)