According to the CONFIG
document in the doc
subdirectory of the source distribution, the john.conf
file is looked for in "John's home directory". A bit further on, a reference is made to a variable $JOHN
, which I presume is an environment variable that will be use if it is set.
This is also mentioned slightly hidden (not properly marked up, in a parenthesis) half way down in the README.md
file:
(in the documentation and in the configuration file for John, "$JOHN" refers to John's "home directory"; which directory it really is depends on how you installed John)
Therefore, it is fair to assume that the program is looking for the configuration file in the directory where the executable is located, or in $JOHN
. You may want to set this variable to where the files for the program are located, e.g.
export JOHN="$HOME/tools/john/run"
This could be done for an individual user, or system-wide. See e.g. How to permanently set environmental variables
sudo ln -s /home/me/tools/john/run/john.conf /usr/local/bin/john.conf