how to increase John the Ripper maximum password length from 8 to 14 characters

# edit the configuration to increase maximum length from 8 to 14
#
cd src
ed -s params.h <<EOM
/define CHARSET_LENGTH
s/8/14
w
q
EOM
#
# build (replace the target as appropriate)
#
make clean linux-x86-64-native
#
# backup orginal charsets
cd ../run
mkdir chr.8
mv *.chr chr.8
#
# generate new charsets
#
# get a better wordlist
wget http:_mirrors.kernel.org/openwall/wordlists/all.gz
gunzip all.gz
sed 's/^/:/' all > john.pot
#
./john --make-charset=all.chr
./john --make-charset=alnum.chr --external=filter_alnum
./john --make-charset=alpha.chr --external=filter_alpha
./john --make-charset=digits.chr --external=filter_digits
./john --make-charset=lanman.chr --external=filter_lanman