Thank you, you are right about using John, I checked the site but it looked like it charged for use? Perhaps I missed something. Thanks again.
echo root:$(grep -A 13 lock_code /dev/mtd1|tail -1): > password
john -format:DES -i:digits password