Raf Czlonka <[email protected]> wrote:

> I just tried running john from cron, this is what I get when it starts:
> 
> /usr/share/john/cronjob: line 28: cd: /var/lib/john: No such file or 
> directory                                                 

See also bug #495398 which says that /root/.john is used instead of
/var/lib/john. Since the other bug has been marked as wontfix (even
though it seems strange for me for a package to write to ~root), it
appears that the proper fix for this issue is to change RUNDIR and
RESTORE in /usr/share/john/crontab from /var/lib/john to /root/.john.

The important thing is that the cronjob script and the john binary are
consistent.

-- 
Bill Wohler <[email protected]> aka <[email protected]>
http://www.newt.com/wohler/
GnuPG ID:610BD9AD


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to